Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_9_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.001018/0.001018, allocations: 108 kB / 15.6 MB, free: 132 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.0009963/0.0009963, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.236/1.236, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.15/2.15, allocations: 390.2 MB / 0.6647 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.00121, allocations: 67.89 kB / 0.8126 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4642/0.4654, allocations: 140.4 MB / 0.9497 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003769/0.4692, allocations: 4.042 MB / 0.9537 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001723/0.4709, allocations: 2.433 MB / 0.956 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.809e-05/0.471, allocations: 1.125 kB / 0.956 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001789/0.4712, allocations: 47.14 kB / 0.9561 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.4714, allocations: 99.09 kB / 0.9562 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007535/0.4722, allocations: 0.5153 MB / 0.9567 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.4724, allocations: 260.5 kB / 0.9569 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.89e-05/0.4724, allocations: 12.67 kB / 0.9569 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.4726, allocations: 120.7 kB / 0.9571 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.4727, allocations: 96.12 kB / 0.9571 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.4727, allocations: 11.81 kB / 0.9572 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006738/0.4734, allocations: 454.6 kB / 0.9576 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.558e-05/0.4735, allocations: 42.38 kB / 0.9576 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.751e-05/0.4736, allocations: 85.92 kB / 0.9577 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005928/0.4742, allocations: 407.4 kB / 0.9581 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.4742, allocations: 3.938 kB / 0.9581 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4742, allocations: 1.375 kB / 0.9581 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.4742, allocations: 0 / 0.9581 GB, free: 2.578 MB / 0.7169 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.0005046/0.4747, allocations: 0.5027 MB / 0.9586 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.813e-05/0.4747, allocations: 9.625 kB / 0.9586 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.866e-05/0.4748, allocations: 53.61 kB / 0.9587 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001794/0.4766, allocations: 183.1 kB / 0.9588 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.4767, allocations: 213.3 kB / 0.959 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.4768, allocations: 11.61 kB / 0.959 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.06e-05/0.4768, allocations: 17.72 kB / 0.9591 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005066/0.4773, allocations: 310.5 kB / 0.9594 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.4773, allocations: 9 kB / 0.9594 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.4774, allocations: 7.125 kB / 0.9594 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.4774, allocations: 5.094 kB / 0.9594 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000616/0.478, allocations: 259.4 kB / 0.9596 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.4791, allocations: 1.383 MB / 0.961 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006083/0.4798, allocations: 194.7 kB / 0.9612 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002149/0.48, allocations: 77.09 kB / 0.9612 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.48, allocations: 10.27 kB / 0.9612 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.48, allocations: 36.78 kB / 0.9613 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.213e-06/0.48, allocations: 0 / 0.9613 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.0007289/0.4808, allocations: 249.2 kB / 0.9615 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.4808, allocations: 53.66 kB / 0.9616 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.4809, allocations: 158 kB / 0.9617 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.481, allocations: 34.77 kB / 0.9618 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.471e-05/0.481, allocations: 122.9 kB / 0.9619 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.397e-05/0.4811, allocations: 63.06 kB / 0.9619 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.706e-05/0.4812, allocations: 50.69 kB / 0.962 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.429e-05/0.4813, allocations: 326.7 kB / 0.9623 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.4815, allocations: 67.38 kB / 0.9624 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.4817, allocations: 146.8 kB / 0.9625 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004574/0.4822, allocations: 220.9 kB / 0.9627 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4822, allocations: 1.125 kB / 0.9627 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005553/0.4828, allocations: 248.1 kB / 0.9629 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.4828, allocations: 6.125 kB / 0.963 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.4828, allocations: 6.625 kB / 0.963 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.4828, allocations: 7.906 kB / 0.963 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003375/0.4832, allocations: 61.95 kB / 0.963 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.4832, allocations: 7.75 kB / 0.963 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.4834, allocations: 35.17 kB / 0.9631 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.4834, allocations: 13.38 kB / 0.9631 GB, free: 14.34 MB / 0.7325 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.0001098/0.4835, allocations: 133.4 kB / 0.9632 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.212e-05/0.4836, allocations: 16.5 kB / 0.9632 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005948/0.4842, allocations: 222.6 kB / 0.9634 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.4842, allocations: 2.062 kB / 0.9634 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.4842, allocations: 5.078 kB / 0.9634 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.4842, allocations: 4 kB / 0.9634 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/0.4845, allocations: 252.4 kB / 0.9637 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4845, allocations: 4 kB / 0.9637 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002865/0.4848, allocations: 47.56 kB / 0.9637 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4848, allocations: 0 / 0.9637 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.4848, allocations: 7.531 kB / 0.9637 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.4848, allocations: 0 / 0.9637 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4848, allocations: 0 / 0.9637 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005109/0.4854, allocations: 303.5 kB / 0.964 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.517e-05/0.4855, allocations: 101.3 kB / 0.9641 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.54e-05/0.4855, allocations: 13.05 kB / 0.9641 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/0.4858, allocations: 17.02 kB / 0.9642 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.388e-05/0.4858, allocations: 9.484 kB / 0.9642 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.4858, allocations: 18.89 kB / 0.9642 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.747e-05/0.4859, allocations: 121.2 kB / 0.9643 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4859, allocations: 0 / 0.9643 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003216/0.4862, allocations: 64.53 kB / 0.9644 GB, free: 13.3 MB / 0.7325 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.000809/0.4871, allocations: 0.8596 MB / 0.9652 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000502/0.4876, allocations: 186.9 kB / 0.9654 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4876, allocations: 1.156 kB / 0.9654 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002199/0.4878, allocations: 88.05 kB / 0.9655 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004783/0.4883, allocations: 70.22 kB / 0.9655 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002811/0.4911, allocations: 2.152 MB / 0.9676 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.4914, allocations: 0.7227 MB / 0.9683 GB, free: 9.879 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003155/0.4917, allocations: 47.84 kB / 0.9684 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.4918, allocations: 49.19 kB / 0.9684 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.4918, allocations: 4 kB / 0.9684 GB, free: 9.812 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2848/0.7766, allocations: 5.135 MB / 0.9734 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.098/8.875, allocations: 7.438 kB / 0.9735 GB, free: 7.223 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches