Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006802/0.006802, allocations: 101.1 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001117, allocations: 190.4 kB / 16.67 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.494/2.494, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 64.19 kB / 0.9504 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2909, allocations: 140.4 MB / 1.088 GB, free: 1.938 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002077/0.293, allocations: 0.6297 MB / 1.088 GB, free: 1.312 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001961/0.295, allocations: 1.452 MB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.646e-05/0.295, allocations: 0 / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.002e-05/0.2951, allocations: 3.938 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.617e-05/0.2952, allocations: 7.922 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004582/0.2956, allocations: 123.5 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.834e-05/0.2957, allocations: 27.91 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.859e-05/0.2958, allocations: 0 / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.562e-05/0.2958, allocations: 15.92 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.301e-05/0.2959, allocations: 19.91 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.2959, allocations: 7.938 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004912/0.2964, allocations: 315.4 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.105e-05/0.2965, allocations: 11.92 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.202e-05/0.2965, allocations: 11.94 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.2968, allocations: 190.4 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2969, allocations: 0 / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2969, allocations: 0 / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.2969, allocations: 3.938 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005538/0.2974, allocations: 376.2 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.2975, allocations: 16.03 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.695e-05/0.2975, allocations: 34.75 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003814/0.2979, allocations: 56.77 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.2981, allocations: 184.3 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.2981, allocations: 384 / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.2982, allocations: 8.266 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.2985, allocations: 77.77 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.2985, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.2985, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.2985, allocations: 8 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003577/0.2989, allocations: 63.92 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002089/0.2991, allocations: 173.7 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005403/0.2996, allocations: 122.4 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.2999, allocations: 48.94 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.2999, allocations: 4 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.2999, allocations: 34.5 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.2999, allocations: 0 / 1.091 GB, free: 13.77 MB / 0.8575 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.00406/0.304, allocations: 0.7818 MB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.304, allocations: 55.41 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.164e-05/0.3041, allocations: 109.8 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.3042, allocations: 33.7 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.411e-05/0.3042, allocations: 80.14 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.289e-05/0.3043, allocations: 31.55 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.695e-05/0.3043, allocations: 29.7 kB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.3044, allocations: 310.8 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004401/0.3049, allocations: 103.8 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004177/0.3053, allocations: 95.91 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008277/0.3062, allocations: 196.8 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.3062, allocations: 3.938 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009195/0.3071, allocations: 254.1 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3071, allocations: 4 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3071, allocations: 0 / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.3071, allocations: 0 / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003113/0.3075, allocations: 55.94 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3075, allocations: 0 / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.3077, allocations: 35.95 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.3077, allocations: 8 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.723e-05/0.3078, allocations: 117.8 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.3079, allocations: 4 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.108e-05/0.3079, allocations: 12.36 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3079, allocations: 0 / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3079, allocations: 0 / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3079, allocations: 0 / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/0.3096, allocations: 0.6051 MB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3096, allocations: 0 / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002612/0.3099, allocations: 56 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3099, allocations: 0 / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.3099, allocations: 4 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3099, allocations: 3.984 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3099, allocations: 3.938 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000935/0.3109, allocations: 340.9 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.346e-05/0.3109, allocations: 81.28 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.311, allocations: 4 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.3112, allocations: 43.89 kB / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.3113, allocations: 15.86 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.3113, allocations: 4 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.37e-05/0.3114, allocations: 91.27 kB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.613e-06/0.3114, allocations: 0 / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002908/0.3117, allocations: 43.94 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001332/0.313, allocations: 0.9058 MB / 1.096 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0009406/0.314, allocations: 207.7 kB / 1.096 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.314, allocations: 0 / 1.096 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004439/0.3144, allocations: 116 kB / 1.096 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.3147, allocations: 7.938 kB / 1.096 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004626/0.3193, allocations: 2.131 MB / 1.098 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.3196, allocations: 0.6807 MB / 1.099 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001071/0.3197, allocations: 32.86 kB / 1.099 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.948e-05/0.3198, allocations: 23.42 kB / 1.099 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of SimCode: time 5.91e-07/0.3198, allocations: 0 / 1.099 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/0.3399, allocations: 2.743 MB / 1.102 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.494/7.834, allocations: 17.73 kB / 1.102 GB, free: 3.125 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches