Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001531/0.001531, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001123/0.001123, allocations: 173 kB / 23.49 MB, free: 1.062 MB / 18.57 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.967/0.967, allocations: 177.1 MB / 203.8 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.127/2.127, allocations: 429.5 MB / 0.6736 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.844e-05/3.025e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002489/0.002519, allocations: 1.34 MB / 0.8795 GB, free: 5.301 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1391/0.1416, allocations: 127.4 MB / 1.004 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.183e-05/0.1416, allocations: 0 / 1.004 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.798e-05/0.1417, allocations: 0 / 1.004 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.369e-05/0.1417, allocations: 7.922 kB / 1.004 GB, free: 5.457 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.142, allocations: 67.61 kB / 1.004 GB, free: 5.391 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.667e-05/0.1421, allocations: 19.86 kB / 1.004 GB, free: 5.371 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.145e-05/0.1421, allocations: 4 kB / 1.004 GB, free: 5.367 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.07e-05/0.1422, allocations: 19.92 kB / 1.004 GB, free: 5.348 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.596e-05/0.1422, allocations: 4 kB / 1.004 GB, free: 5.344 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.1422, allocations: 0 / 1.004 GB, free: 5.344 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.35e-05/0.1423, allocations: 15.98 kB / 1.004 GB, free: 5.328 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.665e-05/0.1423, allocations: 3.984 kB / 1.004 GB, free: 5.324 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.457e-05/0.1423, allocations: 15.92 kB / 1.004 GB, free: 5.309 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.094e-05/0.1424, allocations: 19.92 kB / 1.004 GB, free: 5.289 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1424, allocations: 4 kB / 1.004 GB, free: 5.285 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1424, allocations: 0 / 1.004 GB, free: 5.285 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.227e-06/0.1424, allocations: 4 kB / 1.004 GB, free: 5.281 MB / 0.9636 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.0002871/0.1427, allocations: 360.6 kB / 1.004 GB, free: 4.891 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.1428, allocations: 8.031 kB / 1.004 GB, free: 4.883 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.1429, allocations: 20.86 kB / 1.004 GB, free: 4.863 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.721e-05/0.143, allocations: 108.6 kB / 1.005 GB, free: 4.73 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.282e-05/0.143, allocations: 55.97 kB / 1.005 GB, free: 4.664 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.452e-06/0.143, allocations: 384 / 1.005 GB, free: 4.664 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.388e-05/0.1431, allocations: 58.95 kB / 1.005 GB, free: 4.598 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.979e-06/0.1431, allocations: 192 / 1.005 GB, free: 4.598 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.1431, allocations: 384 / 1.005 GB, free: 4.598 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.1431, allocations: 4.125 kB / 1.005 GB, free: 4.594 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.217e-05/0.1431, allocations: 11.92 kB / 1.005 GB, free: 4.582 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001038/0.1432, allocations: 116.6 kB / 1.005 GB, free: 4.434 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.365e-05/0.1433, allocations: 31.06 kB / 1.005 GB, free: 4.391 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.99e-05/0.1433, allocations: 15.81 kB / 1.005 GB, free: 4.371 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.635e-06/0.1433, allocations: 4 kB / 1.005 GB, free: 4.367 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.1433, allocations: 37.39 kB / 1.005 GB, free: 4.32 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 5.81e-07/0.1433, allocations: 4 kB / 1.005 GB, free: 4.316 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.000108/0.1435, allocations: 49.62 kB / 1.005 GB, free: 4.262 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.1435, allocations: 59.34 kB / 1.005 GB, free: 4.191 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.777e-05/0.1435, allocations: 153.9 kB / 1.005 GB, free: 4.023 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.799e-06/0.1435, allocations: 29.7 kB / 1.005 GB, free: 3.988 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.955e-05/0.1436, allocations: 126.9 kB / 1.005 GB, free: 3.859 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.1436, allocations: 15.89 kB / 1.005 GB, free: 3.844 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/0.1436, allocations: 23.36 kB / 1.005 GB, free: 3.812 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1437, allocations: 492.1 kB / 1.006 GB, free: 3.32 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.434e-05/0.1437, allocations: 8 kB / 1.006 GB, free: 3.312 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.586e-06/0.1438, allocations: 4 kB / 1.006 GB, free: 3.309 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.628e-05/0.1438, allocations: 16.16 kB / 1.006 GB, free: 3.289 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1438, allocations: 0 / 1.006 GB, free: 3.289 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.858e-05/0.1438, allocations: 53.66 kB / 1.006 GB, free: 3.23 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.1438, allocations: 6.344 kB / 1.006 GB, free: 3.227 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.1438, allocations: 0 / 1.006 GB, free: 3.227 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.165e-06/0.1439, allocations: 0 / 1.006 GB, free: 3.227 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.922e-05/0.1439, allocations: 11.98 kB / 1.006 GB, free: 3.215 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1439, allocations: 3.938 kB / 1.006 GB, free: 3.211 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.446e-05/0.1439, allocations: 0 / 1.006 GB, free: 3.211 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-06/0.1439, allocations: 4 kB / 1.006 GB, free: 3.207 MB / 0.9636 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 5.452e-05/0.144, allocations: 160.6 kB / 1.006 GB, free: 3.039 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.639e-06/0.144, allocations: 0 / 1.006 GB, free: 3.039 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.9e-05/0.144, allocations: 3.688 kB / 1.006 GB, free: 3.031 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.144, allocations: 8 kB / 1.006 GB, free: 3.023 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-06/0.144, allocations: 0 / 1.006 GB, free: 3.023 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.144, allocations: 3.938 kB / 1.006 GB, free: 3.02 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.729e-05/0.1441, allocations: 116.6 kB / 1.006 GB, free: 2.871 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.1441, allocations: 0 / 1.006 GB, free: 2.871 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.739e-05/0.1441, allocations: 7.938 kB / 1.006 GB, free: 2.863 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-07/0.1441, allocations: 4 kB / 1.006 GB, free: 2.859 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-06/0.1441, allocations: 0 / 1.006 GB, free: 2.859 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.1441, allocations: 0 / 1.006 GB, free: 2.859 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1441, allocations: 0 / 1.006 GB, free: 2.859 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.318e-05/0.1442, allocations: 88.33 kB / 1.006 GB, free: 2.75 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.1442, allocations: 4 kB / 1.006 GB, free: 2.746 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-06/0.1442, allocations: 3.984 kB / 1.006 GB, free: 2.742 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.225e-05/0.1442, allocations: 4 kB / 1.006 GB, free: 2.738 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.81e-05/0.1442, allocations: 3.938 kB / 1.006 GB, free: 2.734 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-06/0.1442, allocations: 0 / 1.006 GB, free: 2.734 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.218e-05/0.1443, allocations: 127.1 kB / 1.006 GB, free: 2.609 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.1443, allocations: 4 kB / 1.006 GB, free: 2.605 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001519/0.1444, allocations: 4 kB / 1.006 GB, free: 2.602 MB / 0.9636 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 8.562e-05/0.1445, allocations: 107.2 kB / 1.006 GB, free: 2.488 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.597e-05/0.1446, allocations: 15.69 kB / 1.007 GB, free: 2.469 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.1446, allocations: 0 / 1.007 GB, free: 2.469 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.984e-05/0.1446, allocations: 15.67 kB / 1.007 GB, free: 2.449 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.1447, allocations: 9.875 kB / 1.007 GB, free: 2.441 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000539/0.1453, allocations: 142.3 kB / 1.007 GB, free: 2.273 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.069e-05/0.1453, allocations: 55.34 kB / 1.007 GB, free: 2.199 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.668e-05/0.1453, allocations: 8.375 kB / 1.007 GB, free: 2.191 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.306e-05/0.1453, allocations: 8.5 kB / 1.007 GB, free: 2.184 MB / 0.9636 GB Notification: Performance of SimCode: time 5.31e-07/0.1453, allocations: 0 / 1.007 GB, free: 2.184 MB / 0.9636 GB Notification: Performance of Templates: time 0.001846/0.1472, allocations: 496 kB / 1.007 GB, free: 1.711 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.504626118810847]