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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001487/0.001487, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001677/0.001677, allocations: 191.6 kB / 16.14 MB, free: 6.719 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.307/1.307, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.173/2.173, allocations: 390.2 MB / 0.6643 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4706/0.472, allocations: 140.4 MB / 0.949 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003922/0.476, allocations: 4.119 MB / 0.9531 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001856/0.4778, allocations: 2.451 MB / 0.9555 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.088e-05/0.478, allocations: 1.25 kB / 0.9555 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002011/0.4782, allocations: 38.97 kB / 0.9555 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001982/0.4784, allocations: 91.88 kB / 0.9556 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000955/0.4793, allocations: 480 kB / 0.956 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002676/0.4796, allocations: 334 kB / 0.9564 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.784e-05/0.4797, allocations: 18.59 kB / 0.9564 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.4798, allocations: 108.7 kB / 0.9565 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.48, allocations: 94.38 kB / 0.9566 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.48, allocations: 6.594 kB / 0.9566 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007081/0.4807, allocations: 463.1 kB / 0.957 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.728e-05/0.4808, allocations: 38.95 kB / 0.9571 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.794e-05/0.4808, allocations: 86.02 kB / 0.9571 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005487/0.4814, allocations: 408.9 kB / 0.9575 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.4814, allocations: 0 / 0.9575 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.31e-07/0.4814, allocations: 0 / 0.9575 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.4814, allocations: 0 / 0.9575 GB, free: 2.641 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.000553/0.482, allocations: 0.5113 MB / 0.958 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.482, allocations: 13.62 kB / 0.958 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.803e-05/0.4821, allocations: 52.23 kB / 0.9581 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00185/0.4839, allocations: 175.2 kB / 0.9583 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.4841, allocations: 217.8 kB / 0.9585 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.4841, allocations: 19.56 kB / 0.9585 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.4842, allocations: 14 kB / 0.9585 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005219/0.4847, allocations: 311 kB / 0.9588 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.4847, allocations: 0 / 0.9588 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.125e-05/0.4847, allocations: 7.719 kB / 0.9588 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.4848, allocations: 5.344 kB / 0.9588 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006163/0.4854, allocations: 262.1 kB / 0.9591 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.4865, allocations: 1.378 MB / 0.9604 GB, free: 8 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006111/0.4872, allocations: 188.5 kB / 0.9606 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000208/0.4874, allocations: 84.47 kB / 0.9607 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.4874, allocations: 6.234 kB / 0.9607 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.4874, allocations: 37.19 kB / 0.9607 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 2.314e-06/0.4874, allocations: 0 / 0.9607 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.0007212/0.4882, allocations: 253.2 kB / 0.9609 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.4882, allocations: 57.34 kB / 0.961 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.4883, allocations: 159.3 kB / 0.9611 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.4884, allocations: 27.73 kB / 0.9612 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.007e-05/0.4884, allocations: 134.7 kB / 0.9613 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/0.4885, allocations: 57.86 kB / 0.9614 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.92e-05/0.4886, allocations: 55.14 kB / 0.9614 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.936e-05/0.4887, allocations: 326.7 kB / 0.9617 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.4889, allocations: 70.97 kB / 0.9618 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.4891, allocations: 139.9 kB / 0.9619 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004282/0.4895, allocations: 214.8 kB / 0.9621 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4895, allocations: 1.781 kB / 0.9621 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005296/0.4901, allocations: 256.3 kB / 0.9624 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.4901, allocations: 5.969 kB / 0.9624 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4901, allocations: 2.75 kB / 0.9624 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.4901, allocations: 3.75 kB / 0.9624 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003371/0.4905, allocations: 62.58 kB / 0.9624 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.4905, allocations: 7.812 kB / 0.9625 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/0.4907, allocations: 35.67 kB / 0.9625 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.4907, allocations: 13.62 kB / 0.9625 GB, free: 14.39 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.0001012/0.4909, allocations: 133.2 kB / 0.9626 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.115e-05/0.4909, allocations: 16.22 kB / 0.9626 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005622/0.4915, allocations: 226.2 kB / 0.9629 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.4915, allocations: 6.688 kB / 0.9629 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.4915, allocations: 0 / 0.9629 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4915, allocations: 5.297 kB / 0.9629 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.4918, allocations: 244.1 kB / 0.9631 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.4918, allocations: 3.984 kB / 0.9631 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002857/0.4921, allocations: 46.12 kB / 0.9632 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.4921, allocations: 1 kB / 0.9632 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.4921, allocations: 5.469 kB / 0.9632 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4921, allocations: 1.375 kB / 0.9632 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4921, allocations: 4 kB / 0.9632 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004836/0.4926, allocations: 309.3 kB / 0.9635 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.171e-05/0.4927, allocations: 106 kB / 0.9636 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/0.4927, allocations: 4 kB / 0.9636 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002682/0.493, allocations: 18.39 kB / 0.9636 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.393e-05/0.493, allocations: 13.55 kB / 0.9636 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.4931, allocations: 15.17 kB / 0.9636 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.655e-05/0.4931, allocations: 118.7 kB / 0.9637 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4931, allocations: 0 / 0.9637 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003177/0.4935, allocations: 62.97 kB / 0.9638 GB, free: 13.36 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.0007685/0.4942, allocations: 0.8613 MB / 0.9646 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004582/0.4947, allocations: 177 kB / 0.9648 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4947, allocations: 1.344 kB / 0.9648 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.4949, allocations: 92.88 kB / 0.9649 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004499/0.4954, allocations: 59.86 kB / 0.9649 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/0.4981, allocations: 2.209 MB / 0.9671 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.4983, allocations: 0.7226 MB / 0.9678 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003348/0.4987, allocations: 51.55 kB / 0.9678 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.4988, allocations: 45.23 kB / 0.9679 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of SimCode: time 2.8e-07/0.4988, allocations: 0 / 0.9679 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7611/1.26, allocations: 4.894 MB / 0.9727 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003178/1.26, allocations: 233.5 kB / 0.9729 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.658/3.918, allocations: 0 / 0.9729 GB, free: 7.184 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