Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.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.001043/0.001043, 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.001082/0.001082, allocations: 169 kB / 23.27 MB, free: 1.223 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 1.058/1.058, allocations: 177.2 MB / 203.7 MB, free: 5.516 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.416/2.416, allocations: 438.1 MB / 0.682 GB, free: 14.21 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.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.8897 GB, free: 9.809 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.618e-05/1.788e-05, allocations: 6.25 kB / 0.8897 GB, free: 9.801 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001747/0.001765, allocations: 1.555 MB / 0.8912 GB, free: 8.238 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1085/0.1102, allocations: 125.2 MB / 1.014 GB, free: 10.54 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.168e-05/0.1103, allocations: 0 / 1.014 GB, free: 10.54 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 4.158e-05/0.1104, allocations: 3.938 kB / 1.014 GB, free: 10.53 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 6.899e-05/0.1104, allocations: 11.86 kB / 1.014 GB, free: 10.52 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004049/0.1108, allocations: 71.66 kB / 1.014 GB, free: 10.45 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 9.223e-05/0.1109, allocations: 55.8 kB / 1.014 GB, free: 10.39 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.111, allocations: 11.98 kB / 1.014 GB, free: 10.38 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 8.028e-05/0.1111, allocations: 31.91 kB / 1.014 GB, free: 10.35 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 4.427e-05/0.1111, allocations: 19.97 kB / 1.014 GB, free: 10.33 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.1112, allocations: 4 kB / 1.014 GB, free: 10.33 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.1113, allocations: 27.86 kB / 1.014 GB, free: 10.3 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.1113, allocations: 4 kB / 1.014 GB, free: 10.3 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 2.448e-05/0.1113, allocations: 19.92 kB / 1.014 GB, free: 10.28 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.1114, allocations: 43.89 kB / 1.014 GB, free: 10.23 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1115, allocations: 3.984 kB / 1.014 GB, free: 10.23 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.894e-06/0.1115, allocations: 0 / 1.014 GB, free: 10.23 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.1115, allocations: 7.938 kB / 1.014 GB, free: 10.22 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004009/0.1119, allocations: 388.1 kB / 1.014 GB, free: 9.805 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.1119, allocations: 12.62 kB / 1.014 GB, free: 9.793 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.1121, allocations: 28.81 kB / 1.014 GB, free: 9.766 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.575e-05/0.1121, allocations: 116.5 kB / 1.014 GB, free: 9.625 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.1121, allocations: 384 / 1.014 GB, free: 9.625 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/0.1122, allocations: 4.375 kB / 1.014 GB, free: 9.621 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.1123, allocations: 62.94 kB / 1.014 GB, free: 9.551 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1123, allocations: 192 / 1.014 GB, free: 9.551 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-06/0.1123, allocations: 8.375 kB / 1.014 GB, free: 9.543 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1123, allocations: 384 / 1.014 GB, free: 9.543 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.852e-05/0.1123, allocations: 11.92 kB / 1.014 GB, free: 9.531 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002952/0.1126, allocations: 264.2 kB / 1.015 GB, free: 9.246 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 6.529e-05/0.1127, allocations: 35.05 kB / 1.015 GB, free: 9.199 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.79e-05/0.1127, allocations: 7.688 kB / 1.015 GB, free: 9.188 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.1127, allocations: 7.984 kB / 1.015 GB, free: 9.18 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.1128, allocations: 33.39 kB / 1.015 GB, free: 9.137 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1128, allocations: 0 / 1.015 GB, free: 9.137 MB / 0.9792 GB Notification: Performance of matching and sorting (n=3): time 0.0001356/0.1129, allocations: 57.66 kB / 1.015 GB, free: 9.074 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.1129, allocations: 51.41 kB / 1.015 GB, free: 9.012 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.445e-05/0.113, allocations: 174 kB / 1.015 GB, free: 8.824 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.113, allocations: 25.7 kB / 1.015 GB, free: 8.793 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 5.18e-05/0.1131, allocations: 142.8 kB / 1.015 GB, free: 8.648 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.1131, allocations: 7.891 kB / 1.015 GB, free: 8.641 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.1131, allocations: 19.38 kB / 1.015 GB, free: 8.613 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1132, allocations: 0.4884 MB / 1.016 GB, free: 8.113 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.353e-05/0.1132, allocations: 4 kB / 1.016 GB, free: 8.109 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.14e-05/0.1133, allocations: 0 / 1.016 GB, free: 8.109 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.285e-05/0.1133, allocations: 23.62 kB / 1.016 GB, free: 8.082 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1133, allocations: 4 kB / 1.016 GB, free: 8.078 MB / 0.9792 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.205e-05/0.1133, allocations: 41.64 kB / 1.016 GB, free: 8.031 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.1134, allocations: 11.94 kB / 1.016 GB, free: 8.02 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1134, allocations: 0 / 1.016 GB, free: 8.02 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.1134, allocations: 0 / 1.016 GB, free: 8.02 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.483e-05/0.1134, allocations: 19.92 kB / 1.016 GB, free: 8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/0.1134, allocations: 0 / 1.016 GB, free: 8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.031e-05/0.1135, allocations: 4 kB / 1.016 GB, free: 7.996 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.1135, allocations: 0 / 1.016 GB, free: 7.996 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.23e-05/0.1135, allocations: 160.6 kB / 1.016 GB, free: 7.828 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.1136, allocations: 3.953 kB / 1.016 GB, free: 7.824 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.191e-05/0.1136, allocations: 19.92 kB / 1.016 GB, free: 7.797 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1136, allocations: 0 / 1.016 GB, free: 7.797 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.1136, allocations: 3.938 kB / 1.016 GB, free: 7.793 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1136, allocations: 0 / 1.016 GB, free: 7.793 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.1137, allocations: 105.2 kB / 1.016 GB, free: 7.664 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1137, allocations: 0 / 1.016 GB, free: 7.664 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.46e-05/0.1137, allocations: 8 kB / 1.016 GB, free: 7.656 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.91e-07/0.1137, allocations: 0 / 1.016 GB, free: 7.656 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-06/0.1137, allocations: 0 / 1.016 GB, free: 7.656 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.1138, allocations: 4 kB / 1.016 GB, free: 7.652 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1138, allocations: 7.938 kB / 1.016 GB, free: 7.645 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003458/0.1141, allocations: 191.9 kB / 1.016 GB, free: 7.438 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 8.596e-06/0.1141, allocations: 7.938 kB / 1.016 GB, free: 7.43 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.476e-06/0.1141, allocations: 0 / 1.016 GB, free: 7.43 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.479e-05/0.1142, allocations: 4 kB / 1.016 GB, free: 7.426 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.1142, allocations: 15.92 kB / 1.016 GB, free: 7.41 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.1142, allocations: 384 / 1.016 GB, free: 7.41 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 3.845e-05/0.1142, allocations: 131.1 kB / 1.016 GB, free: 7.281 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.1142, allocations: 0 / 1.016 GB, free: 7.281 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002011/0.1144, allocations: 19.98 kB / 1.016 GB, free: 7.262 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 8.93e-05/0.1145, allocations: 95.25 kB / 1.017 GB, free: 7.16 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 6.905e-05/0.1146, allocations: 23.67 kB / 1.017 GB, free: 7.133 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1146, allocations: 0 / 1.017 GB, free: 7.133 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 2.373e-05/0.1146, allocations: 19.67 kB / 1.017 GB, free: 7.109 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.1149, allocations: 4 kB / 1.017 GB, free: 7.105 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004735/0.1153, allocations: 174 kB / 1.017 GB, free: 6.906 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.481e-05/0.1154, allocations: 55.36 kB / 1.017 GB, free: 6.832 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 2.67e-05/0.1154, allocations: 0 / 1.017 GB, free: 6.832 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.815e-05/0.1155, allocations: 82.19 kB / 1.017 GB, free: 6.75 MB / 0.9792 GB Notification: Performance of SimCode: time 6.71e-07/0.1155, allocations: 3.938 kB / 1.017 GB, free: 6.746 MB / 0.9792 GB Notification: Performance of Templates: time 0.002625/0.1181, allocations: 1.057 MB / 1.018 GB, free: 5.711 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_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.488560433965176]