Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_latest_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.004866/0.004866, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001122/0.001122, allocations: 196.8 kB / 16.67 MB, free: 5.926 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.642/2.642, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 63.89 kB / 1.054 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.822/0.8234, allocations: 157.4 MB / 1.207 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01624/0.8397, allocations: 12.97 MB / 1.22 GB, free: 472 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002879/0.8426, allocations: 2.667 MB / 1.223 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.8428, allocations: 0 / 1.223 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003196/0.8431, allocations: 47.67 kB / 1.223 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003761/0.8435, allocations: 99.36 kB / 1.223 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001466/0.845, allocations: 0.5032 MB / 1.223 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003444/0.8454, allocations: 231.9 kB / 1.223 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.875e-05/0.8454, allocations: 17.55 kB / 1.223 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008159/0.8536, allocations: 3.578 MB / 1.227 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.8538, allocations: 87.67 kB / 1.227 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.026e-05/0.8538, allocations: 8 kB / 1.227 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002564/0.8564, allocations: 1.084 MB / 1.228 GB, free: 8.125 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.522e-05/0.8565, allocations: 39.83 kB / 1.228 GB, free: 8.086 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.8566, allocations: 83.64 kB / 1.228 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008464/0.8575, allocations: 363.1 kB / 1.229 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.8575, allocations: 0 / 1.229 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.452e-06/0.8575, allocations: 0 / 1.229 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.8575, allocations: 0 / 1.229 GB, free: 7.648 MB / 0.9512 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.0008245/0.8583, allocations: 0.5108 MB / 1.229 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.8584, allocations: 8.031 kB / 1.229 GB, free: 7.082 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.084e-05/0.8585, allocations: 54.67 kB / 1.229 GB, free: 7.02 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000184/0.8586, allocations: 28.73 kB / 1.229 GB, free: 6.992 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.859, allocations: 216 kB / 1.229 GB, free: 6.742 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.859, allocations: 12.7 kB / 1.229 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.859, allocations: 16.38 kB / 1.229 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000402/0.8594, allocations: 244 kB / 1.23 GB, free: 6.457 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.8595, allocations: 3.938 kB / 1.23 GB, free: 6.453 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.8595, allocations: 19.98 kB / 1.23 GB, free: 6.434 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.742e-05/0.8595, allocations: 4 kB / 1.23 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005036/0.86, allocations: 427.5 kB / 1.23 GB, free: 6.012 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.8613, allocations: 0.9528 MB / 1.231 GB, free: 4.969 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003108/0.8616, allocations: 157.5 kB / 1.231 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.8617, allocations: 72.8 kB / 1.231 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001635/0.8634, allocations: 1.833 MB / 1.233 GB, free: 2.543 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.8634, allocations: 34.56 kB / 1.233 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.783e-06/0.8634, allocations: 0 / 1.233 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0003598/0.8638, allocations: 149.4 kB / 1.233 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.8638, allocations: 55.34 kB / 1.233 GB, free: 2.281 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.8641, allocations: 171.3 kB / 1.233 GB, free: 2.098 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.8641, allocations: 29.7 kB / 1.233 GB, free: 2.062 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.225e-05/0.8642, allocations: 147.8 kB / 1.234 GB, free: 1.91 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.294e-05/0.8642, allocations: 51.2 kB / 1.234 GB, free: 1.859 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.78e-05/0.8643, allocations: 57.61 kB / 1.234 GB, free: 1.797 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.8644, allocations: 322.8 kB / 1.234 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.108e-05/0.8645, allocations: 39.98 kB / 1.234 GB, free: 1.434 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.8646, allocations: 139.5 kB / 1.234 GB, free: 1.25 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002379/0.8649, allocations: 198.9 kB / 1.234 GB, free: 1.008 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.8649, allocations: 0 / 1.234 GB, free: 1.008 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003776/0.8653, allocations: 215.6 kB / 1.235 GB, free: 0.793 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.8653, allocations: 9.562 kB / 1.235 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.8653, allocations: 4 kB / 1.235 GB, free: 0.7812 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.8653, allocations: 7.938 kB / 1.235 GB, free: 0.7734 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.8655, allocations: 51.91 kB / 1.235 GB, free: 0.7227 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.8655, allocations: 11.94 kB / 1.235 GB, free: 0.7109 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.8657, allocations: 23.75 kB / 1.235 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.8657, allocations: 12 kB / 1.235 GB, free: 0.6758 MB / 0.9512 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.0001144/0.8658, allocations: 138 kB / 1.235 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.078e-05/0.8659, allocations: 15.81 kB / 1.235 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000301/0.8662, allocations: 154.9 kB / 1.235 GB, free: 372 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.8662, allocations: 11.88 kB / 1.235 GB, free: 360 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.8662, allocations: 0 / 1.235 GB, free: 360 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.8662, allocations: 0 / 1.235 GB, free: 360 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.8665, allocations: 221.4 kB / 1.235 GB, free: 88 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.8665, allocations: 0 / 1.235 GB, free: 88 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.86e-05/0.8666, allocations: 31.92 kB / 1.235 GB, free: 56 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.8666, allocations: 0 / 1.235 GB, free: 56 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.8666, allocations: 8 kB / 1.235 GB, free: 48 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.8666, allocations: 3.938 kB / 1.235 GB, free: 44 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8666, allocations: 0 / 1.235 GB, free: 44 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.8669, allocations: 214.4 kB / 1.235 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.867, allocations: 116.8 kB / 1.236 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.867, allocations: 7.938 kB / 1.236 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.8672, allocations: 19.91 kB / 1.236 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.554e-05/0.8673, allocations: 15.98 kB / 1.236 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.8673, allocations: 12 kB / 1.236 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.93e-05/0.8674, allocations: 119.9 kB / 1.236 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.9e-07/0.8674, allocations: 0 / 1.236 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004025/0.8678, allocations: 72 kB / 1.236 GB, free: 15.45 MB / 0.9669 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.0007418/0.8686, allocations: 0.8294 MB / 1.237 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002467/0.8688, allocations: 120.5 kB / 1.237 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.8688, allocations: 4 kB / 1.237 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.713e-05/0.8689, allocations: 43.92 kB / 1.237 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.8694, allocations: 55.83 kB / 1.237 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.8716, allocations: 2.048 MB / 1.239 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.8719, allocations: 0.7168 MB / 1.239 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001693/0.8721, allocations: 49.69 kB / 1.24 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.62e-05/0.8721, allocations: 43.42 kB / 1.24 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of SimCode: time 7.41e-07/0.8722, allocations: 0 / 1.24 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.8967, allocations: 5.539 MB / 1.245 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.744/8.641, allocations: 14.73 kB / 1.245 GB, free: 5.922 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches