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.0009152/0.0009152, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.000908/0.000908, allocations: 169 kB / 23.02 MB, free: 1.547 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.9373/0.9373, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.062/2.062, allocations: 429.5 MB / 0.6732 GB, free: 4.059 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.743e-06/1.743e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.817e-05, allocations: 3.594 kB / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.005435/0.005463, allocations: 1.326 MB / 0.8795 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1281/0.1336, allocations: 127.7 MB / 1.004 GB, free: 4.875 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.62e-05/0.1336, allocations: 4 kB / 1.004 GB, free: 4.871 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.289e-05/0.1336, allocations: 0 / 1.004 GB, free: 4.871 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.384e-05/0.1337, allocations: 7.922 kB / 1.004 GB, free: 4.863 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003638/0.134, allocations: 63.61 kB / 1.004 GB, free: 4.801 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.354e-05/0.1341, allocations: 19.88 kB / 1.004 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.667e-05/0.1342, allocations: 4 kB / 1.004 GB, free: 4.777 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.721e-05/0.1342, allocations: 19.91 kB / 1.004 GB, free: 4.758 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.849e-05/0.1343, allocations: 7.984 kB / 1.004 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.1343, allocations: 0 / 1.004 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.513e-05/0.1344, allocations: 12 kB / 1.004 GB, free: 4.738 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.89e-05/0.1344, allocations: 11.98 kB / 1.004 GB, free: 4.727 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.037e-05/0.1344, allocations: 7.938 kB / 1.004 GB, free: 4.719 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.1345, allocations: 19.97 kB / 1.004 GB, free: 4.699 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1345, allocations: 4 kB / 1.004 GB, free: 4.695 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.834e-06/0.1345, allocations: 0 / 1.004 GB, free: 4.695 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.1345, allocations: 3.938 kB / 1.004 GB, free: 4.691 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.0003568/0.1349, allocations: 360.6 kB / 1.005 GB, free: 4.301 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.1349, allocations: 12.03 kB / 1.005 GB, free: 4.289 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.1351, allocations: 16.86 kB / 1.005 GB, free: 4.273 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.806e-05/0.1352, allocations: 112.6 kB / 1.005 GB, free: 4.137 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.54e-05/0.1353, allocations: 59.95 kB / 1.005 GB, free: 4.066 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.1353, allocations: 384 / 1.005 GB, free: 4.066 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.1354, allocations: 54.95 kB / 1.005 GB, free: 4.004 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.1354, allocations: 192 / 1.005 GB, free: 4.004 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1354, allocations: 384 / 1.005 GB, free: 4.004 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.1354, allocations: 4.125 kB / 1.005 GB, free: 4 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.216e-05/0.1354, allocations: 4 kB / 1.005 GB, free: 3.996 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001228/0.1355, allocations: 120.5 kB / 1.005 GB, free: 3.844 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.993e-05/0.1356, allocations: 35.09 kB / 1.005 GB, free: 3.797 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.005e-05/0.1356, allocations: 15.69 kB / 1.005 GB, free: 3.777 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.796e-06/0.1356, allocations: 4 kB / 1.005 GB, free: 3.773 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.1357, allocations: 37.39 kB / 1.005 GB, free: 3.727 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1357, allocations: 0 / 1.005 GB, free: 3.727 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0001305/0.1358, allocations: 49.91 kB / 1.005 GB, free: 3.672 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.1358, allocations: 51.41 kB / 1.005 GB, free: 3.609 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.318e-05/0.1359, allocations: 161.9 kB / 1.005 GB, free: 3.434 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.1359, allocations: 33.64 kB / 1.005 GB, free: 3.395 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.989e-05/0.1359, allocations: 134.9 kB / 1.006 GB, free: 3.258 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.1359, allocations: 7.906 kB / 1.006 GB, free: 3.25 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.136, allocations: 23.38 kB / 1.006 GB, free: 3.219 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1361, allocations: 496.1 kB / 1.006 GB, free: 2.723 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.01e-05/0.1361, allocations: 4 kB / 1.006 GB, free: 2.719 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.034e-05/0.1361, allocations: 3.984 kB / 1.006 GB, free: 2.715 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.304e-05/0.1362, allocations: 19.69 kB / 1.006 GB, free: 2.691 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.1362, allocations: 0 / 1.006 GB, free: 2.691 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.703e-05/0.1362, allocations: 41.64 kB / 1.006 GB, free: 2.645 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1362, allocations: 7.984 kB / 1.006 GB, free: 2.637 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1362, allocations: 4 kB / 1.006 GB, free: 2.633 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1362, allocations: 4 kB / 1.006 GB, free: 2.629 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.15e-05/0.1363, allocations: 8 kB / 1.006 GB, free: 2.621 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.1363, allocations: 3.938 kB / 1.006 GB, free: 2.617 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.58e-05/0.1363, allocations: 4 kB / 1.006 GB, free: 2.613 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.1363, allocations: 0 / 1.006 GB, free: 2.613 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 6.242e-05/0.1364, allocations: 156.6 kB / 1.006 GB, free: 2.449 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.061e-06/0.1364, allocations: 0 / 1.006 GB, free: 2.449 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.261e-05/0.1364, allocations: 11.67 kB / 1.006 GB, free: 2.434 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1364, allocations: 0 / 1.006 GB, free: 2.434 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1364, allocations: 4 kB / 1.006 GB, free: 2.43 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.1364, allocations: 3.938 kB / 1.006 GB, free: 2.426 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.1367, allocations: 116.6 kB / 1.006 GB, free: 2.277 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1367, allocations: 0 / 1.006 GB, free: 2.277 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.559e-05/0.1367, allocations: 4 kB / 1.006 GB, free: 2.273 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1367, allocations: 0 / 1.006 GB, free: 2.273 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.1367, allocations: 3.984 kB / 1.006 GB, free: 2.27 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.1367, allocations: 3.938 kB / 1.006 GB, free: 2.266 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1367, allocations: 0 / 1.006 GB, free: 2.266 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.026e-05/0.1368, allocations: 84.33 kB / 1.006 GB, free: 2.16 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.732e-05/0.1368, allocations: 4 kB / 1.007 GB, free: 2.156 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-06/0.1368, allocations: 0 / 1.007 GB, free: 2.156 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.174e-05/0.1368, allocations: 4 kB / 1.007 GB, free: 2.152 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.1369, allocations: 4 kB / 1.007 GB, free: 2.148 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.1369, allocations: 3.984 kB / 1.007 GB, free: 2.145 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.268e-05/0.1369, allocations: 135.1 kB / 1.007 GB, free: 2.012 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.1369, allocations: 0 / 1.007 GB, free: 2.012 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001178/0.137, allocations: 4 kB / 1.007 GB, free: 2.008 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 9.481e-05/0.1371, allocations: 95.77 kB / 1.007 GB, free: 1.906 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.553e-05/0.1372, allocations: 23.61 kB / 1.007 GB, free: 1.879 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1372, allocations: 0 / 1.007 GB, free: 1.879 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.786e-05/0.1372, allocations: 23.77 kB / 1.007 GB, free: 1.852 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.1374, allocations: 4 kB / 1.007 GB, free: 1.848 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005656/0.1379, allocations: 142.3 kB / 1.007 GB, free: 1.68 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.891e-05/0.138, allocations: 51.36 kB / 1.007 GB, free: 1.609 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.279e-05/0.138, allocations: 8 kB / 1.007 GB, free: 1.602 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.636e-05/0.138, allocations: 8.5 kB / 1.007 GB, free: 1.594 MB / 0.9636 GB Notification: Performance of SimCode: time 8.02e-07/0.138, allocations: 0 / 1.007 GB, free: 1.594 MB / 0.9636 GB Notification: Performance of Templates: time 0.00216/0.1402, allocations: 0.5199 MB / 1.007 GB, free: 1.086 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.297065073158592]