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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001448/0.001448, allocations: 108.6 kB / 15.73 MB, free: 72 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.001363/0.001363, allocations: 189.2 kB / 16.67 MB, free: 6.613 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.259/1.259, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.568/2.568, allocations: 482.6 MB / 0.755 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 67.89 kB / 1.083 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2663, allocations: 162.3 MB / 1.242 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.4822/0.7485, allocations: 12.96 MB / 1.255 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002001/0.7506, allocations: 2.667 MB / 1.257 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.163e-05/0.7506, allocations: 1.031 kB / 1.257 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002108/0.7509, allocations: 49.33 kB / 1.257 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.7511, allocations: 87.95 kB / 1.257 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008398/0.7519, allocations: 0.5043 MB / 1.258 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.7522, allocations: 235 kB / 1.258 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.793e-05/0.7522, allocations: 10 kB / 1.258 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006607/0.7588, allocations: 3.59 MB / 1.262 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.7589, allocations: 91.67 kB / 1.262 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.759, allocations: 7.25 kB / 1.262 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001978/0.761, allocations: 1.076 MB / 1.263 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.614e-05/0.761, allocations: 42.23 kB / 1.263 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.422e-05/0.7611, allocations: 85.42 kB / 1.263 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005118/0.7616, allocations: 361.9 kB / 1.263 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.7616, allocations: 0.9062 kB / 1.263 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7616, allocations: 0.7031 kB / 1.263 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.7616, allocations: 0 / 1.263 GB, free: 5.258 MB / 0.9981 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.0005185/0.7622, allocations: 0.5092 MB / 1.264 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.7622, allocations: 9.344 kB / 1.264 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.095e-05/0.7623, allocations: 49.14 kB / 1.264 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.7624, allocations: 30.61 kB / 1.264 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.7626, allocations: 218.8 kB / 1.264 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.7626, allocations: 11.14 kB / 1.264 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.7626, allocations: 14.69 kB / 1.264 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003167/0.763, allocations: 250 kB / 1.264 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.763, allocations: 0.5312 kB / 1.264 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.763, allocations: 7.703 kB / 1.264 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/0.763, allocations: 9.625 kB / 1.264 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004966/0.7635, allocations: 429.5 kB / 1.265 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007903/0.7643, allocations: 0.9662 MB / 1.266 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.7646, allocations: 164.1 kB / 1.266 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.828e-05/0.7646, allocations: 62.8 kB / 1.266 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009637/0.7656, allocations: 1.834 MB / 1.268 GB, free: 17.55 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.7656, allocations: 34.2 kB / 1.268 GB, free: 17.52 MB / 1.014 GB Notification: Performance of pre-optimization done (n=15): time 1.402e-06/0.7657, allocations: 0 / 1.268 GB, free: 17.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=15): time 0.0002721/0.7659, allocations: 146.4 kB / 1.268 GB, free: 17.45 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.766, allocations: 61.41 kB / 1.268 GB, free: 17.38 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.7661, allocations: 166.2 kB / 1.268 GB, free: 17.25 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.7661, allocations: 31.25 kB / 1.268 GB, free: 17.22 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.973e-05/0.7662, allocations: 143.2 kB / 1.268 GB, free: 17.09 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.7662, allocations: 54.34 kB / 1.268 GB, free: 17.05 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-05/0.7663, allocations: 61.38 kB / 1.268 GB, free: 17 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.7664, allocations: 327.7 kB / 1.269 GB, free: 16.68 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.679e-05/0.7665, allocations: 37.89 kB / 1.269 GB, free: 16.67 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.011e-05/0.7665, allocations: 138.6 kB / 1.269 GB, free: 16.53 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.7667, allocations: 202.7 kB / 1.269 GB, free: 16.34 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.7667, allocations: 0.875 kB / 1.269 GB, free: 16.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002589/0.767, allocations: 217 kB / 1.269 GB, free: 16.25 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.767, allocations: 7.312 kB / 1.269 GB, free: 16.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.767, allocations: 5.344 kB / 1.269 GB, free: 16.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.767, allocations: 6 kB / 1.269 GB, free: 16.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.7672, allocations: 53.59 kB / 1.269 GB, free: 16.24 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.7672, allocations: 11.59 kB / 1.269 GB, free: 16.23 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.03e-05/0.7673, allocations: 28.39 kB / 1.269 GB, free: 16.21 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.7673, allocations: 19.47 kB / 1.269 GB, free: 16.21 MB / 1.014 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 9.158e-05/0.7674, allocations: 136.1 kB / 1.269 GB, free: 16.07 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.19e-05/0.7674, allocations: 17 kB / 1.269 GB, free: 16.07 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002527/0.7677, allocations: 151.1 kB / 1.27 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-06/0.7677, allocations: 7.656 kB / 1.27 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.7677, allocations: 0.6094 kB / 1.27 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.7677, allocations: 5.406 kB / 1.27 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.7679, allocations: 215.3 kB / 1.27 GB, free: 15.76 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.7679, allocations: 2 kB / 1.27 GB, free: 15.76 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.526e-05/0.768, allocations: 31.03 kB / 1.27 GB, free: 15.75 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.768, allocations: 0.8438 kB / 1.27 GB, free: 15.75 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.768, allocations: 1.859 kB / 1.27 GB, free: 15.75 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.768, allocations: 6.062 kB / 1.27 GB, free: 15.75 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7681, allocations: 0.6094 kB / 1.27 GB, free: 15.75 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002037/0.7683, allocations: 222.3 kB / 1.27 GB, free: 15.58 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.622e-05/0.7684, allocations: 108.3 kB / 1.27 GB, free: 15.48 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.7684, allocations: 8.281 kB / 1.27 GB, free: 15.47 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.7686, allocations: 17.81 kB / 1.27 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.948e-05/0.7686, allocations: 10.08 kB / 1.27 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.7686, allocations: 13.98 kB / 1.27 GB, free: 15.46 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.599e-05/0.7687, allocations: 118.2 kB / 1.27 GB, free: 15.38 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7687, allocations: 3.938 kB / 1.27 GB, free: 15.37 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003213/0.769, allocations: 84.78 kB / 1.27 GB, free: 15.35 MB / 1.014 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.0006152/0.7696, allocations: 0.8412 MB / 1.271 GB, free: 14.62 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001805/0.7698, allocations: 123.9 kB / 1.271 GB, free: 14.59 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7698, allocations: 1.406 kB / 1.271 GB, free: 14.59 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 5.444e-05/0.7699, allocations: 44.33 kB / 1.271 GB, free: 14.57 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.7703, allocations: 59.05 kB / 1.271 GB, free: 14.55 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.772, allocations: 2.056 MB / 1.273 GB, free: 12.85 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.7723, allocations: 0.7084 MB / 1.274 GB, free: 12.15 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001332/0.7724, allocations: 50.95 kB / 1.274 GB, free: 12.14 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.24e-05/0.7725, allocations: 44.31 kB / 1.274 GB, free: 12.11 MB / 1.014 GB Notification: Performance of SimCode: time 2e-07/0.7725, allocations: 0 / 1.274 GB, free: 12.11 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.21/1.983, allocations: 5.482 MB / 1.28 GB, free: 11.37 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/13.61, allocations: 12.89 kB / 1.28 GB, free: 11.36 MB / 1.014 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=400 --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