Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.00782/0.00782, allocations: 100.1 kB / 15.73 MB, free: 6.016 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.00213/0.00213, allocations: 187.8 kB / 16.67 MB, free: 5.93 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.612/2.612, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 59.91 kB / 1.018 GB, free: 9.801 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6642/0.6662, allocations: 151.6 MB / 1.166 GB, free: 3.723 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005639/0.6719, allocations: 4.05 MB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002984/0.6749, allocations: 2.43 MB / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.422e-05/0.6749, allocations: 0 / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002388/0.6752, allocations: 47.69 kB / 1.173 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002542/0.6755, allocations: 99.34 kB / 1.173 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.6766, allocations: 0.5268 MB / 1.173 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003365/0.677, allocations: 263.8 kB / 1.173 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.292e-05/0.677, allocations: 9.547 kB / 1.173 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001992/0.6772, allocations: 119.5 kB / 1.174 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.6774, allocations: 95.59 kB / 1.174 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.6775, allocations: 8 kB / 1.174 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008509/0.6783, allocations: 455.2 kB / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.271e-05/0.6784, allocations: 43.88 kB / 1.174 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.6785, allocations: 79.66 kB / 1.174 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006922/0.6792, allocations: 414.4 kB / 1.175 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.6792, allocations: 0 / 1.175 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6792, allocations: 4 kB / 1.175 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.6792, allocations: 0 / 1.175 GB, free: 11.08 MB / 0.9044 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.0007902/0.68, allocations: 0.5064 MB / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.6801, allocations: 8.922 kB / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.312e-05/0.6802, allocations: 54.73 kB / 1.175 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001987/0.6822, allocations: 176.6 kB / 1.175 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.6825, allocations: 212.1 kB / 1.176 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.6825, allocations: 12.7 kB / 1.176 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.428e-05/0.6826, allocations: 16.38 kB / 1.176 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006926/0.6833, allocations: 300.2 kB / 1.176 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.6833, allocations: 4 kB / 1.176 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.574e-05/0.6833, allocations: 4 kB / 1.176 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/0.6833, allocations: 15.92 kB / 1.176 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007611/0.6841, allocations: 259.6 kB / 1.176 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/0.6859, allocations: 1.389 MB / 1.177 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006869/0.6866, allocations: 190.7 kB / 1.178 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002425/0.6868, allocations: 84.72 kB / 1.178 GB, free: 7.617 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.6869, allocations: 8 kB / 1.178 GB, free: 7.609 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.6869, allocations: 30.56 kB / 1.178 GB, free: 7.57 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=18): time 1.363e-06/0.6869, allocations: 0 / 1.178 GB, free: 7.57 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18): time 0.0008292/0.6877, allocations: 255.8 kB / 1.178 GB, free: 7.316 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.6878, allocations: 51.41 kB / 1.178 GB, free: 7.254 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.688, allocations: 164.5 kB / 1.178 GB, free: 7.086 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.688, allocations: 29.7 kB / 1.178 GB, free: 7.051 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.025e-05/0.6881, allocations: 132.2 kB / 1.178 GB, free: 6.918 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.696e-05/0.6882, allocations: 63.47 kB / 1.178 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.6883, allocations: 53.88 kB / 1.179 GB, free: 6.793 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.6884, allocations: 330.8 kB / 1.179 GB, free: 6.461 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/0.6887, allocations: 64.42 kB / 1.179 GB, free: 6.398 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002965/0.689, allocations: 146.3 kB / 1.179 GB, free: 6.223 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005288/0.6895, allocations: 217.2 kB / 1.179 GB, free: 5.977 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.6895, allocations: 0 / 1.179 GB, free: 5.977 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006394/0.6902, allocations: 247.8 kB / 1.179 GB, free: 5.73 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.6902, allocations: 4 kB / 1.179 GB, free: 5.727 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.6902, allocations: 7.938 kB / 1.179 GB, free: 5.719 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.6902, allocations: 4.312 kB / 1.179 GB, free: 5.715 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003667/0.6906, allocations: 71.89 kB / 1.18 GB, free: 5.645 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.6906, allocations: 11.92 kB / 1.18 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.6908, allocations: 23.84 kB / 1.18 GB, free: 5.609 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.6909, allocations: 15.98 kB / 1.18 GB, free: 5.594 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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 0.0001321/0.691, allocations: 133.7 kB / 1.18 GB, free: 5.453 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.691e-05/0.6911, allocations: 15.91 kB / 1.18 GB, free: 5.438 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006765/0.6918, allocations: 234.7 kB / 1.18 GB, free: 5.199 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.6918, allocations: 0 / 1.18 GB, free: 5.199 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.6918, allocations: 0 / 1.18 GB, free: 5.199 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.6918, allocations: 0 / 1.18 GB, free: 5.199 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003182/0.6921, allocations: 245.4 kB / 1.18 GB, free: 4.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.6921, allocations: 0 / 1.18 GB, free: 4.91 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003146/0.6924, allocations: 47.91 kB / 1.18 GB, free: 4.863 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.6925, allocations: 0 / 1.18 GB, free: 4.863 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.6925, allocations: 11.98 kB / 1.18 GB, free: 4.852 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.6925, allocations: 4 kB / 1.18 GB, free: 4.848 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.6925, allocations: 0 / 1.18 GB, free: 4.848 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005956/0.6931, allocations: 297.8 kB / 1.181 GB, free: 4.543 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.6932, allocations: 104.9 kB / 1.181 GB, free: 4.422 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.319e-05/0.6933, allocations: 4 kB / 1.181 GB, free: 4.418 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002805/0.6935, allocations: 23.97 kB / 1.181 GB, free: 4.395 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.529e-05/0.6936, allocations: 15.92 kB / 1.181 GB, free: 4.379 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.6936, allocations: 8 kB / 1.181 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.098e-05/0.6937, allocations: 113.9 kB / 1.181 GB, free: 4.262 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6937, allocations: 4 kB / 1.181 GB, free: 4.258 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003553/0.6941, allocations: 59.94 kB / 1.181 GB, free: 4.199 MB / 0.9044 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 (20): * Single equations (assignments): 20 * 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.001018/0.6951, allocations: 0.8772 MB / 1.182 GB, free: 3.297 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005504/0.6957, allocations: 178.2 kB / 1.182 GB, free: 3.125 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6957, allocations: 0 / 1.182 GB, free: 3.125 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002596/0.6959, allocations: 96.45 kB / 1.182 GB, free: 3.031 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.6964, allocations: 55.88 kB / 1.182 GB, free: 2.977 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00332/0.6997, allocations: 2.166 MB / 1.184 GB, free: 0.668 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.7001, allocations: 0.7134 MB / 1.185 GB, free: 15.93 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002618/0.7004, allocations: 57.86 kB / 1.185 GB, free: 15.87 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.7005, allocations: 51.34 kB / 1.185 GB, free: 15.82 MB / 0.92 GB Notification: Performance of SimCode: time 2.51e-07/0.7005, allocations: 0 / 1.185 GB, free: 15.82 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02674/0.7273, allocations: 5.21 MB / 1.19 GB, free: 10.8 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.295/9.022, allocations: 8 kB / 1.19 GB, free: 10.79 MB / 0.92 GB (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches