Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 103.5 kB / 16.27 MB, free: 6.418 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.001648/0.001648, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.51/1.51, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.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.272/2.272, allocations: 390.2 MB / 0.6653 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 70.19 kB / 0.8132 GB, free: 33.1 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3107, allocations: 140.4 MB / 0.9503 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002598/0.3134, allocations: 1.274 MB / 0.9515 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.134/0.4474, allocations: 132 MB / 1.08 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.334e-05/0.4475, allocations: 4 kB / 1.08 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.712e-05/0.4476, allocations: 3.938 kB / 1.08 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.916e-05/0.4476, allocations: 3.984 kB / 1.08 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003531/0.448, allocations: 55.67 kB / 1.081 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.287e-05/0.4481, allocations: 27.75 kB / 1.081 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.4481, allocations: 7.984 kB / 1.081 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.416e-05/0.4482, allocations: 7.984 kB / 1.081 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.696e-05/0.4482, allocations: 15.92 kB / 1.081 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.4483, allocations: 3.938 kB / 1.081 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.653e-05/0.4483, allocations: 16 kB / 1.081 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.4484, allocations: 0 / 1.081 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.744e-05/0.4484, allocations: 7.984 kB / 1.081 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.4485, allocations: 32.14 kB / 1.081 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.196e-05/0.4485, allocations: 4 kB / 1.081 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.012e-06/0.4485, allocations: 0 / 1.081 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.4486, allocations: 0 / 1.081 GB, free: 2.84 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004014/0.449, allocations: 332.7 kB / 1.081 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.449, allocations: 8.031 kB / 1.081 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/0.4491, allocations: 4.938 kB / 1.081 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.4492, allocations: 168.3 kB / 1.081 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-05/0.4493, allocations: 30.25 kB / 1.081 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.4493, allocations: 4.375 kB / 1.081 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.4494, allocations: 42.19 kB / 1.081 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.4494, allocations: 3.938 kB / 1.081 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.4495, allocations: 0 / 1.081 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.4495, allocations: 3.938 kB / 1.081 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.435e-05/0.4496, allocations: 11.98 kB / 1.081 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/0.4497, allocations: 161.6 kB / 1.081 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.4498, allocations: 34.61 kB / 1.081 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.08e-05/0.4499, allocations: 20.88 kB / 1.081 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/0.4501, allocations: 85.11 kB / 1.081 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.4501, allocations: 46.48 kB / 1.082 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.4501, allocations: 0 / 1.082 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0002618/0.4504, allocations: 57.62 kB / 1.082 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.4504, allocations: 51.41 kB / 1.082 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.957e-05/0.4505, allocations: 101.8 kB / 1.082 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.4505, allocations: 25.7 kB / 1.082 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.4506, allocations: 80.14 kB / 1.082 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.4506, allocations: 3.906 kB / 1.082 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.4506, allocations: 21.72 kB / 1.082 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.4507, allocations: 314.8 kB / 1.082 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.631e-05/0.4508, allocations: 4 kB / 1.082 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.849e-05/0.4508, allocations: 12 kB / 1.082 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.815e-05/0.4509, allocations: 25.25 kB / 1.082 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.451, allocations: 0 / 1.082 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001323/0.4511, allocations: 53.67 kB / 1.082 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.4511, allocations: 11.94 kB / 1.082 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.4511, allocations: 0 / 1.082 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.4511, allocations: 4.031 kB / 1.082 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.535e-05/0.4512, allocations: 4 kB / 1.082 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.4512, allocations: 4 kB / 1.082 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.962e-05/0.4513, allocations: 0 / 1.082 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.4513, allocations: 0 / 1.082 GB, free: 0.8945 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 7.087e-05/0.4513, allocations: 115.8 kB / 1.082 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.4514, allocations: 7.844 kB / 1.082 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00017/0.4515, allocations: 65.11 kB / 1.082 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.4516, allocations: 7.984 kB / 1.082 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.4516, allocations: 0 / 1.082 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.4516, allocations: 0 / 1.082 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.607e-05/0.4517, allocations: 149.7 kB / 1.083 GB, free: 500 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.4517, allocations: 3.984 kB / 1.083 GB, free: 496 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.279e-05/0.4517, allocations: 4 kB / 1.083 GB, free: 492 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.4517, allocations: 3.938 kB / 1.083 GB, free: 488 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.4518, allocations: 0 / 1.083 GB, free: 488 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.4518, allocations: 4 kB / 1.083 GB, free: 484 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4518, allocations: 7.938 kB / 1.083 GB, free: 476 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.4519, allocations: 73.05 kB / 1.083 GB, free: 384 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/0.452, allocations: 85.05 kB / 1.083 GB, free: 280 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.452, allocations: 7.938 kB / 1.083 GB, free: 272 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.853e-05/0.452, allocations: 0 / 1.083 GB, free: 272 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.4521, allocations: 7.984 kB / 1.083 GB, free: 264 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.4521, allocations: 4 kB / 1.083 GB, free: 260 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.966e-05/0.4521, allocations: 79.28 kB / 1.083 GB, free: 180 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4521, allocations: 0 / 1.083 GB, free: 180 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001956/0.4523, allocations: 11.94 kB / 1.083 GB, free: 168 kB / 0.8575 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 (3): * Single equations (assignments): 3 * 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.0001547/0.4525, allocations: 111.2 kB / 1.083 GB, free: 48 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001424/0.4527, allocations: 19.92 kB / 1.083 GB, free: 28 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4527, allocations: 0 / 1.083 GB, free: 28 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.02e-05/0.4527, allocations: 19.98 kB / 1.083 GB, free: 8 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.4529, allocations: 8 kB / 1.083 GB, free: 0 / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3823/0.8352, allocations: 144.8 kB / 1.083 GB, free: 141.8 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.636e-05/0.8353, allocations: 0.6795 MB / 1.084 GB, free: 141.1 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.509e-05/0.8354, allocations: 9.672 kB / 1.084 GB, free: 141.1 MB / 0.8575 GB Notification: Performance of SimCode: time 4.8e-07/0.8354, allocations: 0.8125 kB / 1.084 GB, free: 141.1 MB / 0.8575 GB Notification: Performance of Templates: time 0.001928/0.8373, allocations: 0.5709 MB / 1.084 GB, free: 141.1 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches