Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001413/0.002427, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009478/0.0009478, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001231/0.002178, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9116/0.9116, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09089/1.002, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.919/1.919, allocations: 378.3 MB / 0.6079 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5177/2.437, allocations: 123.3 MB / 0.7283 GB, free: 5.719 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.7297 GB, free: 4.398 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.137e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.395 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001666/0.001687, allocations: 1.375 MB / 0.731 GB, free: 3.035 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1305/0.1322, allocations: 127.5 MB / 0.8555 GB, free: 3.254 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.36e-05/0.1322, allocations: 0 / 0.8555 GB, free: 3.254 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 1.728e-05/0.1322, allocations: 0 / 0.8555 GB, free: 3.254 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 3.926e-05/0.1322, allocations: 11.98 kB / 0.8555 GB, free: 3.242 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.1325, allocations: 63.44 kB / 0.8556 GB, free: 3.184 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 8.266e-05/0.1326, allocations: 23.86 kB / 0.8556 GB, free: 3.16 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.954e-05/0.1326, allocations: 11.98 kB / 0.8556 GB, free: 3.148 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.248e-05/0.1327, allocations: 11.98 kB / 0.8556 GB, free: 3.137 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.459e-05/0.1328, allocations: 4 kB / 0.8556 GB, free: 3.133 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.1328, allocations: 0 / 0.8556 GB, free: 3.133 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.1329, allocations: 23.92 kB / 0.8557 GB, free: 3.109 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.121e-05/0.1329, allocations: 4 kB / 0.8557 GB, free: 3.105 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 1.51e-05/0.1329, allocations: 4 kB / 0.8557 GB, free: 3.102 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.133, allocations: 31.86 kB / 0.8557 GB, free: 3.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.56e-05/0.1331, allocations: 0 / 0.8557 GB, free: 3.07 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.004e-06/0.1331, allocations: 0 / 0.8557 GB, free: 3.07 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.1331, allocations: 0 / 0.8557 GB, free: 3.07 MB / 0.823 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.0003385/0.1334, allocations: 236.6 kB / 0.8559 GB, free: 2.812 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.1334, allocations: 15.97 kB / 0.8559 GB, free: 2.797 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.1335, allocations: 0.9375 kB / 0.8559 GB, free: 2.797 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.438e-05/0.1336, allocations: 113.7 kB / 0.8561 GB, free: 2.66 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.441e-05/0.1336, allocations: 55.97 kB / 0.8561 GB, free: 2.594 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.1336, allocations: 384 / 0.8561 GB, free: 2.594 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.161e-05/0.1337, allocations: 54.95 kB / 0.8562 GB, free: 2.531 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.688e-06/0.1337, allocations: 192 / 0.8562 GB, free: 2.531 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.33e-06/0.1337, allocations: 384 / 0.8562 GB, free: 2.531 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1337, allocations: 4.125 kB / 0.8562 GB, free: 2.527 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.482e-05/0.1337, allocations: 7.984 kB / 0.8562 GB, free: 2.52 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.512e-05/0.1338, allocations: 57.05 kB / 0.8562 GB, free: 2.449 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.588e-05/0.1339, allocations: 30.55 kB / 0.8563 GB, free: 2.41 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.241e-05/0.1339, allocations: 4.859 kB / 0.8563 GB, free: 2.402 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.774e-05/0.134, allocations: 24.08 kB / 0.8563 GB, free: 2.379 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.134, allocations: 30.56 kB / 0.8563 GB, free: 2.34 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.134, allocations: 0 / 0.8563 GB, free: 2.34 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 9.235e-05/0.1341, allocations: 45.62 kB / 0.8564 GB, free: 2.289 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.1341, allocations: 51.41 kB / 0.8564 GB, free: 2.227 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.801e-05/0.1342, allocations: 102.7 kB / 0.8565 GB, free: 2.113 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.1342, allocations: 25.7 kB / 0.8565 GB, free: 2.082 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.919e-05/0.1342, allocations: 80.14 kB / 0.8566 GB, free: 2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.1342, allocations: 7.953 kB / 0.8566 GB, free: 1.992 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/0.1342, allocations: 17.7 kB / 0.8566 GB, free: 1.969 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.667e-05/0.1343, allocations: 326.8 kB / 0.8569 GB, free: 1.641 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.978e-06/0.1343, allocations: 0 / 0.8569 GB, free: 1.641 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.295e-06/0.1343, allocations: 4 kB / 0.8569 GB, free: 1.637 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.475e-05/0.1344, allocations: 12.84 kB / 0.857 GB, free: 1.621 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1344, allocations: 7.938 kB / 0.857 GB, free: 1.613 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.377e-05/0.1344, allocations: 45.62 kB / 0.857 GB, free: 1.562 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.1344, allocations: 4 kB / 0.857 GB, free: 1.559 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1344, allocations: 0 / 0.857 GB, free: 1.559 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.1344, allocations: 0 / 0.857 GB, free: 1.559 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.057e-05/0.1345, allocations: 4 kB / 0.857 GB, free: 1.555 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.1345, allocations: 8 kB / 0.857 GB, free: 1.547 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.238e-05/0.1345, allocations: 0 / 0.857 GB, free: 1.547 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.1345, allocations: 7.922 kB / 0.857 GB, free: 1.539 MB / 0.823 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 4.916e-05/0.1346, allocations: 117.8 kB / 0.8571 GB, free: 1.414 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-06/0.1346, allocations: 4 kB / 0.8571 GB, free: 1.41 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.058e-05/0.1346, allocations: 45.33 kB / 0.8572 GB, free: 1.352 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1346, allocations: 4.5 kB / 0.8572 GB, free: 1.348 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.1346, allocations: 0 / 0.8572 GB, free: 1.348 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1346, allocations: 0 / 0.8572 GB, free: 1.348 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.24e-05/0.1347, allocations: 65.84 kB / 0.8573 GB, free: 1.266 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1347, allocations: 7.984 kB / 0.8573 GB, free: 1.258 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.067e-05/0.1347, allocations: 12 kB / 0.8573 GB, free: 1.246 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.705e-05/0.1347, allocations: 7.922 kB / 0.8573 GB, free: 1.238 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.1347, allocations: 0 / 0.8573 GB, free: 1.238 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.419e-06/0.1347, allocations: 4 kB / 0.8573 GB, free: 1.234 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1348, allocations: 0 / 0.8573 GB, free: 1.234 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1348, allocations: 0 / 0.8573 GB, free: 1.234 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.215e-05/0.1348, allocations: 65.05 kB / 0.8573 GB, free: 1.152 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.727e-06/0.1348, allocations: 4 kB / 0.8574 GB, free: 1.148 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.427e-06/0.1348, allocations: 3.984 kB / 0.8574 GB, free: 1.145 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.503e-05/0.1348, allocations: 4 kB / 0.8574 GB, free: 1.141 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.1348, allocations: 0 / 0.8574 GB, free: 1.141 MB / 0.823 GB Notification: Performance of sorting global known variables: time 1.103e-05/0.1349, allocations: 16.8 kB / 0.8574 GB, free: 1.121 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.1349, allocations: 0 / 0.8574 GB, free: 1.121 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001005/0.135, allocations: 8 kB / 0.8574 GB, free: 1.113 MB / 0.823 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.0001246/0.1351, allocations: 92.34 kB / 0.8575 GB, free: 1.012 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 5.605e-05/0.1351, allocations: 20.78 kB / 0.8575 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.1351, allocations: 0 / 0.8575 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.71e-05/0.1352, allocations: 12.86 kB / 0.8575 GB, free: 0.9727 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001067/0.1353, allocations: 19.92 kB / 0.8575 GB, free: 0.9531 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009845/0.1363, allocations: 144.5 kB / 0.8577 GB, free: 0.7852 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.78e-05/0.1363, allocations: 55.36 kB / 0.8577 GB, free: 0.7109 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.58e-05/0.1363, allocations: 4 kB / 0.8577 GB, free: 0.707 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.11e-05/0.1364, allocations: 59.36 kB / 0.8578 GB, free: 0.6484 MB / 0.823 GB Notification: Performance of SimCode: time 1.353e-06/0.1364, allocations: 0 / 0.8578 GB, free: 0.6484 MB / 0.823 GB Notification: Performance of Templates: time 0.002148/0.1385, allocations: 0.6189 MB / 0.8584 GB, free: 40 kB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.974813207052648]