Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002164/0.002164, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.531/1.531, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.817/2.817, allocations: 472.6 MB / 0.7448 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 71.84 kB / 0.9116 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4044, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006565/0.411, allocations: 4.099 MB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002956/0.414, allocations: 2.414 MB / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001677/0.4142, allocations: 3.938 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00034/0.4145, allocations: 39.8 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004377/0.415, allocations: 91.47 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001847/0.4169, allocations: 497.6 kB / 1.075 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004221/0.4173, allocations: 259.9 kB / 1.075 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.466e-05/0.4174, allocations: 13.55 kB / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000237/0.4176, allocations: 119.5 kB / 1.075 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.4178, allocations: 99.59 kB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.4178, allocations: 12 kB / 1.075 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009608/0.4188, allocations: 455.2 kB / 1.076 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.794e-05/0.4189, allocations: 39.88 kB / 1.076 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.624e-05/0.419, allocations: 87.66 kB / 1.076 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006922/0.4197, allocations: 415.2 kB / 1.076 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.4197, allocations: 3.984 kB / 1.076 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4197, allocations: 0 / 1.076 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.4197, allocations: 0 / 1.076 GB, free: 2.113 MB / 0.8262 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.000838/0.4205, allocations: 0.5031 MB / 1.077 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.4206, allocations: 12.03 kB / 1.077 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002042/0.4226, allocations: 184.5 kB / 1.077 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.4229, allocations: 208.2 kB / 1.077 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/0.4229, allocations: 8.703 kB / 1.077 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.228e-05/0.423, allocations: 16.38 kB / 1.077 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006527/0.4236, allocations: 308.3 kB / 1.077 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.4237, allocations: 8 kB / 1.077 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.666e-05/0.4237, allocations: 8 kB / 1.077 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.4237, allocations: 4 kB / 1.077 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007123/0.4245, allocations: 259.6 kB / 1.078 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/0.4262, allocations: 1.389 MB / 1.079 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006526/0.4268, allocations: 198.5 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002372/0.4271, allocations: 84.75 kB / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.4271, allocations: 3.906 kB / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.4271, allocations: 38.56 kB / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 1.343e-06/0.4272, allocations: 3.938 kB / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.0008078/0.428, allocations: 242.9 kB / 1.079 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.428, allocations: 51.41 kB / 1.08 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.4282, allocations: 165.2 kB / 1.08 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.325e-05/0.4283, allocations: 33.7 kB / 1.08 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.391e-05/0.4284, allocations: 128 kB / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.717e-05/0.4284, allocations: 63.09 kB / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.955e-05/0.4285, allocations: 45.94 kB / 1.08 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.4287, allocations: 322.8 kB / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/0.4289, allocations: 68.41 kB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/0.4292, allocations: 142.3 kB / 1.08 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004759/0.4296, allocations: 222.5 kB / 1.081 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4297, allocations: 0 / 1.081 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000586/0.4302, allocations: 254.5 kB / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.4303, allocations: 4 kB / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.4303, allocations: 4 kB / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.4303, allocations: 4 kB / 1.081 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003632/0.4307, allocations: 67.89 kB / 1.081 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.4307, allocations: 4 kB / 1.081 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.4309, allocations: 31.73 kB / 1.081 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.431, allocations: 12.16 kB / 1.081 GB, free: 12.7 MB / 0.8419 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.0001449/0.4311, allocations: 137.6 kB / 1.081 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.093e-05/0.4312, allocations: 11.91 kB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006519/0.4318, allocations: 230.6 kB / 1.081 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.4319, allocations: 0 / 1.081 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.4319, allocations: 4 kB / 1.081 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4319, allocations: 0 / 1.081 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003732/0.4323, allocations: 253.3 kB / 1.082 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4323, allocations: 4 kB / 1.082 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003228/0.4326, allocations: 43.97 kB / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.4326, allocations: 0 / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.4326, allocations: 8 kB / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.4327, allocations: 3.984 kB / 1.082 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4327, allocations: 4 kB / 1.082 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006011/0.4333, allocations: 305.2 kB / 1.082 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.038e-05/0.4334, allocations: 100.9 kB / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.085e-05/0.4334, allocations: 4 kB / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002854/0.4337, allocations: 19.98 kB / 1.082 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.4337, allocations: 7.984 kB / 1.082 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.847e-05/0.4338, allocations: 15.98 kB / 1.082 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.112e-05/0.4339, allocations: 117.5 kB / 1.082 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4339, allocations: 0 / 1.082 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003627/0.4342, allocations: 63.94 kB / 1.082 GB, free: 11.3 MB / 0.8419 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.0002709/0.4345, allocations: 139.3 kB / 1.082 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005556/0.4351, allocations: 187.7 kB / 1.083 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.4351, allocations: 3.938 kB / 1.083 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002237/0.4353, allocations: 94.23 kB / 1.083 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005733/0.4359, allocations: 61.09 kB / 1.083 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.437, allocations: 459.1 kB / 1.083 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004146/0.4374, allocations: 0.7212 MB / 1.084 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003553/0.4377, allocations: 49.92 kB / 1.084 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.531e-05/0.4378, allocations: 23.44 kB / 1.084 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/0.4378, allocations: 0 / 1.084 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of Templates: time 0.007517/0.4454, allocations: 3.383 MB / 1.087 GB, free: 6.207 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches