Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",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.002137/0.002137, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002167/0.002167, allocations: 196.4 kB / 16.53 MB, free: 6.656 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.251/1.251, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.46/2.46, allocations: 469.8 MB / 0.7424 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 67.92 kB / 0.9087 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2392, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01427/0.2535, allocations: 12.96 MB / 1.077 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002604/0.2561, allocations: 2.675 MB / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.28e-05/0.2562, allocations: 0 / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001998/0.2564, allocations: 43.69 kB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002152/0.2566, allocations: 103.3 kB / 1.079 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008849/0.2575, allocations: 0.4893 MB / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.2577, allocations: 224 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.088e-05/0.2578, allocations: 17.55 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006659/0.2644, allocations: 3.588 MB / 1.084 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.2646, allocations: 87.66 kB / 1.084 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.2646, allocations: 8 kB / 1.084 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001863/0.2665, allocations: 1.068 MB / 1.085 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.578e-05/0.2665, allocations: 35.89 kB / 1.085 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.846e-05/0.2666, allocations: 83.66 kB / 1.085 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005001/0.2671, allocations: 367 kB / 1.085 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2671, allocations: 4 kB / 1.085 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2671, allocations: 0 / 1.085 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.2672, allocations: 0 / 1.085 GB, free: 8.359 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006448/0.2678, allocations: 0.4914 MB / 1.086 GB, free: 7.82 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 2.878e-05/0.2678, allocations: 12.03 kB / 1.086 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.482e-05/0.2679, allocations: 54.67 kB / 1.086 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.268, allocations: 24.75 kB / 1.086 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.2683, allocations: 228 kB / 1.086 GB, free: 7.461 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.2683, allocations: 12.7 kB / 1.086 GB, free: 7.449 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.2683, allocations: 20.36 kB / 1.086 GB, free: 7.43 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003374/0.2686, allocations: 247.9 kB / 1.086 GB, free: 7.168 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.2687, allocations: 4 kB / 1.086 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.2687, allocations: 7.938 kB / 1.086 GB, free: 7.156 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/0.2687, allocations: 12 kB / 1.086 GB, free: 7.145 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004653/0.2692, allocations: 423.5 kB / 1.087 GB, free: 6.73 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.2702, allocations: 0.9644 MB / 1.088 GB, free: 5.676 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.2705, allocations: 155 kB / 1.088 GB, free: 5.516 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.83e-05/0.2706, allocations: 64.88 kB / 1.088 GB, free: 5.449 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001334/0.2719, allocations: 1.837 MB / 1.09 GB, free: 3.254 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.272, allocations: 38.56 kB / 1.09 GB, free: 3.207 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 1.132e-06/0.272, allocations: 0 / 1.09 GB, free: 3.207 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0003099/0.2723, allocations: 146.8 kB / 1.09 GB, free: 3.059 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.2723, allocations: 55.41 kB / 1.09 GB, free: 2.992 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.2725, allocations: 165.2 kB / 1.09 GB, free: 2.82 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.2725, allocations: 33.7 kB / 1.09 GB, free: 2.781 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.036e-05/0.2726, allocations: 139.8 kB / 1.09 GB, free: 2.641 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.553e-05/0.2726, allocations: 67.11 kB / 1.09 GB, free: 2.574 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.113e-05/0.2727, allocations: 49.61 kB / 1.09 GB, free: 2.52 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.2728, allocations: 326.8 kB / 1.091 GB, free: 2.191 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.436e-05/0.2729, allocations: 35.98 kB / 1.091 GB, free: 2.156 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.273, allocations: 135 kB / 1.091 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.2733, allocations: 203.2 kB / 1.091 GB, free: 1.73 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2733, allocations: 0 / 1.091 GB, free: 1.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000306/0.2736, allocations: 209.4 kB / 1.091 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.2736, allocations: 8 kB / 1.091 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.2736, allocations: 0 / 1.091 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.2736, allocations: 15.88 kB / 1.091 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.2738, allocations: 55.91 kB / 1.091 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.2738, allocations: 7.938 kB / 1.091 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.638e-05/0.2739, allocations: 27.69 kB / 1.091 GB, free: 1.406 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.2739, allocations: 12 kB / 1.091 GB, free: 1.395 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 0.0001015/0.274, allocations: 142 kB / 1.092 GB, free: 1.246 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.817e-05/0.2741, allocations: 15.81 kB / 1.092 GB, free: 1.23 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002735/0.2744, allocations: 157 kB / 1.092 GB, free: 1.074 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.2744, allocations: 3.938 kB / 1.092 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2744, allocations: 4 kB / 1.092 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.2744, allocations: 0 / 1.092 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.2746, allocations: 221.4 kB / 1.092 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.2747, allocations: 0 / 1.092 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.371e-05/0.2747, allocations: 27.92 kB / 1.092 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2747, allocations: 4 kB / 1.092 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.2748, allocations: 4 kB / 1.092 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.2748, allocations: 7.938 kB / 1.092 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2748, allocations: 4 kB / 1.092 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.275, allocations: 219.5 kB / 1.092 GB, free: 0.5234 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.495e-05/0.2751, allocations: 101 kB / 1.092 GB, free: 416 kB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.2751, allocations: 8 kB / 1.092 GB, free: 408 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.2753, allocations: 19.92 kB / 1.092 GB, free: 388 kB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.033e-05/0.2753, allocations: 11.98 kB / 1.092 GB, free: 376 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.2754, allocations: 7.984 kB / 1.092 GB, free: 368 kB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.648e-05/0.2755, allocations: 129.5 kB / 1.092 GB, free: 240 kB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2755, allocations: 0 / 1.092 GB, free: 240 kB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003336/0.2758, allocations: 83.84 kB / 1.093 GB, free: 156 kB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0006899/0.2765, allocations: 0.843 MB / 1.093 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002212/0.2767, allocations: 128.1 kB / 1.093 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2767, allocations: 0 / 1.093 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.674e-05/0.2768, allocations: 50.39 kB / 1.093 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.2772, allocations: 48.52 kB / 1.094 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.2792, allocations: 2.025 MB / 1.096 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.2795, allocations: 0.7128 MB / 1.096 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001507/0.2796, allocations: 49.69 kB / 1.096 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.045e-05/0.2797, allocations: 47.42 kB / 1.096 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.2797, allocations: 0 / 1.096 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.71/7.99, allocations: 5.423 MB / 1.102 GB, free: 6.742 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.39/22.38, allocations: 20.34 kB / 1.102 GB, free: 6.723 MB / 0.8575 GB (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches