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.00117/0.00117, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001328/0.001328, allocations: 169 kB / 23.27 MB, free: 1.227 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.9968/0.9968, allocations: 177.2 MB / 203.7 MB, free: 5.531 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.365/2.365, allocations: 438.1 MB / 0.682 GB, free: 14.2 MB / 0.6511 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.734e-06/1.734e-06, allocations: 0 / 0.8897 GB, free: 9.801 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.377e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.00177/0.001794, allocations: 1.341 MB / 0.891 GB, free: 8.445 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1202/0.122, allocations: 125.2 MB / 1.013 GB, free: 10.79 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.029e-05/0.122, allocations: 0 / 1.013 GB, free: 10.79 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 2.094e-05/0.1221, allocations: 3.938 kB / 1.013 GB, free: 10.79 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 5.465e-05/0.1221, allocations: 15.91 kB / 1.013 GB, free: 10.77 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.1225, allocations: 55.69 kB / 1.013 GB, free: 10.72 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 7.397e-05/0.1225, allocations: 27.86 kB / 1.013 GB, free: 10.69 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 3.08e-05/0.1226, allocations: 3.984 kB / 1.013 GB, free: 10.69 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 6.531e-05/0.1226, allocations: 15.92 kB / 1.013 GB, free: 10.67 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 6.172e-05/0.1227, allocations: 7.938 kB / 1.013 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.1227, allocations: 0 / 1.013 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 8.26e-05/0.1228, allocations: 19.98 kB / 1.013 GB, free: 10.64 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.1228, allocations: 0 / 1.013 GB, free: 10.64 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 1.608e-05/0.1228, allocations: 7.938 kB / 1.013 GB, free: 10.64 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.1229, allocations: 31.95 kB / 1.013 GB, free: 10.61 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1229, allocations: 0 / 1.013 GB, free: 10.61 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1229, allocations: 4 kB / 1.013 GB, free: 10.6 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.1229, allocations: 0 / 1.013 GB, free: 10.6 MB / 0.9792 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.0003551/0.1233, allocations: 352.3 kB / 1.014 GB, free: 10.22 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.1233, allocations: 8.625 kB / 1.014 GB, free: 10.21 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.1235, allocations: 24.81 kB / 1.014 GB, free: 10.19 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.835e-05/0.1236, allocations: 112.6 kB / 1.014 GB, free: 10.05 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.367e-05/0.1236, allocations: 55.91 kB / 1.014 GB, free: 9.984 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.121e-06/0.1236, allocations: 4.375 kB / 1.014 GB, free: 9.98 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.68e-05/0.1237, allocations: 50.95 kB / 1.014 GB, free: 9.922 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.42e-06/0.1237, allocations: 192 / 1.014 GB, free: 9.922 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.1237, allocations: 384 / 1.014 GB, free: 9.922 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1237, allocations: 4.125 kB / 1.014 GB, free: 9.918 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.684e-05/0.1238, allocations: 11.98 kB / 1.014 GB, free: 9.906 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001077/0.1239, allocations: 97.2 kB / 1.014 GB, free: 9.785 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 5.639e-05/0.1239, allocations: 34.98 kB / 1.014 GB, free: 9.738 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.66e-05/0.1239, allocations: 15.69 kB / 1.014 GB, free: 9.719 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 6.833e-06/0.1239, allocations: 144 / 1.014 GB, free: 9.719 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.124, allocations: 49.38 kB / 1.014 GB, free: 9.66 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.124, allocations: 0 / 1.014 GB, free: 9.66 MB / 0.9792 GB Notification: Performance of matching and sorting (n=3): time 0.0001096/0.1241, allocations: 37.7 kB / 1.014 GB, free: 9.617 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.1241, allocations: 51.41 kB / 1.014 GB, free: 9.555 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.093e-05/0.1242, allocations: 157.9 kB / 1.015 GB, free: 9.383 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.1242, allocations: 29.7 kB / 1.015 GB, free: 9.348 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 3.116e-05/0.1242, allocations: 130.8 kB / 1.015 GB, free: 9.215 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.1242, allocations: 11.84 kB / 1.015 GB, free: 9.203 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.1243, allocations: 23.36 kB / 1.015 GB, free: 9.172 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1244, allocations: 0.4883 MB / 1.015 GB, free: 8.672 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.216e-05/0.1244, allocations: 8 kB / 1.015 GB, free: 8.664 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.777e-06/0.1244, allocations: 4 kB / 1.015 GB, free: 8.66 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.433e-05/0.1244, allocations: 15.69 kB / 1.015 GB, free: 8.641 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1244, allocations: 0 / 1.015 GB, free: 8.641 MB / 0.9792 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.848e-05/0.1245, allocations: 42.16 kB / 1.015 GB, free: 8.594 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.1245, allocations: 4 kB / 1.015 GB, free: 8.59 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1245, allocations: 0 / 1.015 GB, free: 8.59 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.298e-06/0.1245, allocations: 0 / 1.015 GB, free: 8.59 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.941e-05/0.1246, allocations: 7.984 kB / 1.015 GB, free: 8.582 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.1246, allocations: 0 / 1.015 GB, free: 8.582 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.957e-05/0.1246, allocations: 19.91 kB / 1.015 GB, free: 8.562 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-06/0.1246, allocations: 0 / 1.015 GB, free: 8.562 MB / 0.9792 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.368e-05/0.1247, allocations: 156.6 kB / 1.015 GB, free: 8.398 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-06/0.1247, allocations: 4 kB / 1.015 GB, free: 8.395 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.739e-05/0.1247, allocations: 3.688 kB / 1.015 GB, free: 8.387 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.1247, allocations: 0 / 1.015 GB, free: 8.387 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.1247, allocations: 0 / 1.015 GB, free: 8.387 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.1247, allocations: 0 / 1.015 GB, free: 8.387 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.233e-05/0.1248, allocations: 105.2 kB / 1.016 GB, free: 8.258 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1248, allocations: 0 / 1.016 GB, free: 8.258 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.929e-05/0.1248, allocations: 11.98 kB / 1.016 GB, free: 8.246 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1248, allocations: 4 kB / 1.016 GB, free: 8.242 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.406e-06/0.1248, allocations: 0 / 1.016 GB, free: 8.242 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.1248, allocations: 0 / 1.016 GB, free: 8.242 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1248, allocations: 0 / 1.016 GB, free: 8.242 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.205e-05/0.1249, allocations: 88.27 kB / 1.016 GB, free: 8.133 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.1249, allocations: 0 / 1.016 GB, free: 8.133 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.733e-06/0.1249, allocations: 4 kB / 1.016 GB, free: 8.129 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.088e-05/0.1249, allocations: 0 / 1.016 GB, free: 8.129 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.1249, allocations: 3.984 kB / 1.016 GB, free: 8.125 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.1249, allocations: 0 / 1.016 GB, free: 8.125 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 3.303e-05/0.125, allocations: 127.2 kB / 1.016 GB, free: 8 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.125, allocations: 0 / 1.016 GB, free: 8 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0001175/0.1251, allocations: 11.94 kB / 1.016 GB, free: 7.988 MB / 0.9792 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.514e-05/0.1252, allocations: 95.25 kB / 1.016 GB, free: 7.883 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 6.17e-05/0.1252, allocations: 23.67 kB / 1.016 GB, free: 7.855 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.41e-07/0.1252, allocations: 0 / 1.016 GB, free: 7.855 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 1.505e-05/0.1253, allocations: 15.62 kB / 1.016 GB, free: 7.836 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.1254, allocations: 17.98 kB / 1.016 GB, free: 7.82 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004647/0.1259, allocations: 154.3 kB / 1.016 GB, free: 7.641 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.243e-05/0.1259, allocations: 51.36 kB / 1.016 GB, free: 7.57 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 3.085e-05/0.1259, allocations: 8 kB / 1.016 GB, free: 7.562 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.329e-05/0.126, allocations: 74.19 kB / 1.016 GB, free: 7.488 MB / 0.9792 GB Notification: Performance of SimCode: time 7.91e-07/0.126, allocations: 0 / 1.016 GB, free: 7.488 MB / 0.9792 GB Notification: Performance of Templates: time 0.001965/0.1279, allocations: 0.542 MB / 1.017 GB, free: 6.957 MB / 0.9792 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.472708662040532]