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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001324/0.001324, allocations: 112.3 kB / 16.41 MB, free: 6.008 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.00138/0.00138, allocations: 185 kB / 17.34 MB, free: 5.629 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.604/2.604, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 68.12 kB / 1.055 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8164/0.8179, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006284/0.8242, allocations: 4.044 MB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002913/0.8271, allocations: 2.43 MB / 1.215 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.8273, allocations: 8 kB / 1.215 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003057/0.8276, allocations: 39.69 kB / 1.215 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003259/0.828, allocations: 99.34 kB / 1.215 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.8295, allocations: 0.5204 MB / 1.215 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004022/0.8299, allocations: 263.8 kB / 1.216 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.467e-05/0.83, allocations: 17.55 kB / 1.216 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002735/0.8303, allocations: 107.7 kB / 1.216 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.8305, allocations: 99.59 kB / 1.216 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.138e-05/0.8305, allocations: 8 kB / 1.216 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009731/0.8315, allocations: 455.3 kB / 1.216 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.969e-05/0.8316, allocations: 43.83 kB / 1.216 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.8317, allocations: 79.66 kB / 1.216 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008689/0.8326, allocations: 408.7 kB / 1.217 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.8326, allocations: 4 kB / 1.217 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8326, allocations: 0 / 1.217 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.8326, allocations: 0 / 1.217 GB, free: 4.988 MB / 0.9356 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.0008814/0.8335, allocations: 0.507 MB / 1.217 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.8336, allocations: 12.03 kB / 1.217 GB, free: 4.418 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002077/0.8356, allocations: 180.5 kB / 1.218 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004099/0.8361, allocations: 212.1 kB / 1.218 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.8361, allocations: 12.69 kB / 1.218 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.01e-05/0.8361, allocations: 16.38 kB / 1.218 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007417/0.8369, allocations: 312.3 kB / 1.218 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.8369, allocations: 4 kB / 1.218 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.26e-05/0.837, allocations: 11.98 kB / 1.218 GB, free: 3.613 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/0.837, allocations: 12 kB / 1.218 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007116/0.8377, allocations: 255.6 kB / 1.218 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.8395, allocations: 1.381 MB / 1.22 GB, free: 1.855 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007181/0.8402, allocations: 194.5 kB / 1.22 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002456/0.8405, allocations: 79 kB / 1.22 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.8405, allocations: 7.984 kB / 1.22 GB, free: 1.57 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.8406, allocations: 30.56 kB / 1.22 GB, free: 1.531 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.443e-06/0.8406, allocations: 0 / 1.22 GB, free: 1.531 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.0007935/0.8414, allocations: 249.3 kB / 1.22 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.8414, allocations: 55.34 kB / 1.22 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.8416, allocations: 168.1 kB / 1.22 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.8416, allocations: 29.7 kB / 1.22 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.8417, allocations: 124 kB / 1.221 GB, free: 0.8828 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.96e-05/0.8418, allocations: 59.11 kB / 1.221 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.995e-05/0.8419, allocations: 53.92 kB / 1.221 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.8421, allocations: 326.8 kB / 1.221 GB, free: 444 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/0.8423, allocations: 60.42 kB / 1.221 GB, free: 384 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002617/0.8426, allocations: 150.2 kB / 1.221 GB, free: 200 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005018/0.8431, allocations: 226.6 kB / 1.221 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.8431, allocations: 4 kB / 1.221 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006172/0.8437, allocations: 242.9 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.8438, allocations: 8.312 kB / 1.222 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.8438, allocations: 4 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.8438, allocations: 4 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003594/0.8442, allocations: 71.88 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.8442, allocations: 4 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.8444, allocations: 31.69 kB / 1.222 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.8445, allocations: 11.98 kB / 1.222 GB, free: 15.56 MB / 0.9512 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.0001238/0.8446, allocations: 129.7 kB / 1.222 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.786e-05/0.8447, allocations: 19.91 kB / 1.222 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00064/0.8453, allocations: 226.6 kB / 1.222 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.8453, allocations: 4 kB / 1.222 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.8453, allocations: 0 / 1.222 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.8453, allocations: 0 / 1.222 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/0.8456, allocations: 249.3 kB / 1.222 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.8456, allocations: 0 / 1.222 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003144/0.846, allocations: 51.91 kB / 1.222 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.314e-05/0.846, allocations: 7.984 kB / 1.222 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.846, allocations: 4 kB / 1.222 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.846, allocations: 0 / 1.222 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.846, allocations: 0 / 1.222 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000571/0.8466, allocations: 301.3 kB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.935e-05/0.8467, allocations: 116.8 kB / 1.223 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/0.8468, allocations: 3.984 kB / 1.223 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000284/0.847, allocations: 15.98 kB / 1.223 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.8471, allocations: 11.98 kB / 1.223 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/0.8471, allocations: 8 kB / 1.223 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.623e-05/0.8472, allocations: 117.7 kB / 1.223 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8472, allocations: 0 / 1.223 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003811/0.8476, allocations: 60.12 kB / 1.223 GB, free: 14.16 MB / 0.9512 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.0002137/0.8478, allocations: 138 kB / 1.223 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005627/0.8484, allocations: 183.8 kB / 1.223 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.8484, allocations: 0 / 1.223 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002308/0.8486, allocations: 83.84 kB / 1.223 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004863/0.8491, allocations: 68.39 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009842/0.8501, allocations: 435.5 kB / 1.224 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.8504, allocations: 0.7173 MB / 1.225 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.8506, allocations: 27.42 kB / 1.225 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of SimCode: time 2.41e-07/0.8506, allocations: 0 / 1.225 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of Templates: time 0.00591/0.8565, allocations: 2.941 MB / 1.228 GB, free: 9.559 MB / 0.9512 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/jenkins1/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