Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001217/0.001217, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001389/0.001389, allocations: 169 kB / 24.28 MB, free: 276 kB / 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 1.002/1.002, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.755/1.755, allocations: 359 MB / 0.6055 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.259e-05, allocations: 4.844 kB / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001538/0.001561, allocations: 1.325 MB / 0.7884 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1275/0.1291, allocations: 127.4 MB / 0.9128 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.526e-05/0.1291, allocations: 0 / 0.9128 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 2.045e-05/0.1291, allocations: 7.938 kB / 0.9128 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 4.175e-05/0.1292, allocations: 7.938 kB / 0.9128 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.1295, allocations: 55.66 kB / 0.9129 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 6.955e-05/0.1295, allocations: 23.88 kB / 0.9129 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.083e-05/0.1296, allocations: 0 / 0.9129 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.178e-05/0.1296, allocations: 11.98 kB / 0.9129 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.081e-05/0.1297, allocations: 11.98 kB / 0.9129 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.1297, allocations: 0 / 0.9129 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.77e-05/0.1298, allocations: 23.86 kB / 0.9129 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 1.606e-05/0.1298, allocations: 3.984 kB / 0.9129 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 1.804e-05/0.1298, allocations: 8 kB / 0.9129 GB, free: 11.51 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 9.897e-05/0.1299, allocations: 19.98 kB / 0.913 GB, free: 11.49 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1299, allocations: 3.984 kB / 0.913 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.114e-06/0.1299, allocations: 4 kB / 0.913 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.1299, allocations: 0 / 0.913 GB, free: 11.48 MB / 0.8698 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.000346/0.1302, allocations: 360.6 kB / 0.9133 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.1303, allocations: 8.031 kB / 0.9133 GB, free: 11.08 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.1303, allocations: 4.938 kB / 0.9133 GB, free: 11.08 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.015e-05/0.1304, allocations: 112.6 kB / 0.9134 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.935e-05/0.1305, allocations: 59.97 kB / 0.9135 GB, free: 10.87 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.1305, allocations: 4.375 kB / 0.9135 GB, free: 10.87 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.89e-05/0.1306, allocations: 50.89 kB / 0.9135 GB, free: 10.81 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.44e-06/0.1306, allocations: 4.125 kB / 0.9135 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.1306, allocations: 4.375 kB / 0.9135 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.1306, allocations: 4.125 kB / 0.9136 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.396e-05/0.1306, allocations: 11.98 kB / 0.9136 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000113/0.1307, allocations: 108.6 kB / 0.9137 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.246e-05/0.1308, allocations: 31.06 kB / 0.9137 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.116e-05/0.1308, allocations: 15.81 kB / 0.9137 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.1309, allocations: 16 kB / 0.9137 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.131, allocations: 45.31 kB / 0.9138 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.131, allocations: 0 / 0.9138 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0001321/0.1311, allocations: 45.69 kB / 0.9138 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.1311, allocations: 51.41 kB / 0.9139 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.909e-05/0.1312, allocations: 165.9 kB / 0.914 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.437e-06/0.1312, allocations: 25.7 kB / 0.914 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.1312, allocations: 126.9 kB / 0.9142 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.1313, allocations: 11.91 kB / 0.9142 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-05/0.1313, allocations: 23.38 kB / 0.9142 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1314, allocations: 0.4884 MB / 0.9147 GB, free: 9.516 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.28e-05/0.1314, allocations: 0 / 0.9147 GB, free: 9.516 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.173e-05/0.1314, allocations: 7.938 kB / 0.9147 GB, free: 9.508 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.795e-05/0.1314, allocations: 15.69 kB / 0.9147 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1314, allocations: 4 kB / 0.9147 GB, free: 9.484 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.296e-05/0.1315, allocations: 41.69 kB / 0.9147 GB, free: 9.438 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.1315, allocations: 8 kB / 0.9148 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1315, allocations: 0 / 0.9148 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.1315, allocations: 0 / 0.9148 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.198e-05/0.1316, allocations: 8 kB / 0.9148 GB, free: 9.422 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.1316, allocations: 7.922 kB / 0.9148 GB, free: 9.414 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.28e-05/0.1316, allocations: 0 / 0.9148 GB, free: 9.414 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.1316, allocations: 4 kB / 0.9148 GB, free: 9.41 MB / 0.8698 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.616e-05/0.1317, allocations: 156.5 kB / 0.9149 GB, free: 9.246 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.982e-06/0.1317, allocations: 3.953 kB / 0.9149 GB, free: 9.242 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.88e-05/0.1317, allocations: 53.38 kB / 0.915 GB, free: 9.18 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1318, allocations: 0 / 0.915 GB, free: 9.18 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.1318, allocations: 0 / 0.915 GB, free: 9.18 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1318, allocations: 3.938 kB / 0.915 GB, free: 9.176 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.442e-05/0.1318, allocations: 124.5 kB / 0.9151 GB, free: 9.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1318, allocations: 0 / 0.9151 GB, free: 9.02 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.734e-05/0.1318, allocations: 4 kB / 0.9151 GB, free: 9.016 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1318, allocations: 4 kB / 0.9151 GB, free: 9.012 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.1318, allocations: 4 kB / 0.9151 GB, free: 9.008 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.1318, allocations: 0 / 0.9151 GB, free: 9.008 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1318, allocations: 0 / 0.9151 GB, free: 9.008 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.49e-05/0.1319, allocations: 84.88 kB / 0.9152 GB, free: 8.902 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.604e-05/0.1319, allocations: 7.984 kB / 0.9152 GB, free: 8.895 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.1319, allocations: 4 kB / 0.9152 GB, free: 8.891 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.919e-06/0.132, allocations: 4 kB / 0.9152 GB, free: 8.887 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/0.132, allocations: 4 kB / 0.9152 GB, free: 8.883 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.132, allocations: 0 / 0.9152 GB, free: 8.883 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.405e-05/0.132, allocations: 131.1 kB / 0.9153 GB, free: 8.754 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.132, allocations: 0 / 0.9153 GB, free: 8.754 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001379/0.1322, allocations: 19.94 kB / 0.9154 GB, free: 8.734 MB / 0.8698 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.0001375/0.1323, allocations: 107.2 kB / 0.9155 GB, free: 8.621 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.988e-05/0.1324, allocations: 19.62 kB / 0.9155 GB, free: 8.598 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1324, allocations: 0 / 0.9155 GB, free: 8.598 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.689e-05/0.1324, allocations: 23.67 kB / 0.9155 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.1325, allocations: 14 kB / 0.9155 GB, free: 8.559 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005199/0.1331, allocations: 138.2 kB / 0.9156 GB, free: 8.395 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.455e-05/0.1331, allocations: 59.34 kB / 0.9157 GB, free: 8.316 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.48e-05/0.1331, allocations: 7.984 kB / 0.9157 GB, free: 8.309 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.169e-05/0.1331, allocations: 12.5 kB / 0.9157 GB, free: 8.297 MB / 0.8698 GB Notification: Performance of SimCode: time 5.21e-07/0.1331, allocations: 0 / 0.9157 GB, free: 8.297 MB / 0.8698 GB Notification: Performance of Templates: time 0.00212/0.1353, allocations: 0.5419 MB / 0.9162 GB, free: 7.77 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.186580183915794]