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.001572/0.001572, allocations: 69.11 kB / 20.65 MB, free: 3.844 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.001555/0.001555, allocations: 169 kB / 24.06 MB, free: 448 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 0.9645/0.9645, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.169/2.169, allocations: 429.5 MB / 0.6743 GB, free: 3.914 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.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.823e-06/1.823e-06, allocations: 0 / 0.8794 GB, free: 4.906 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.709e-05/2.891e-05, allocations: 9.484 kB / 0.8794 GB, free: 4.898 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002344/0.002373, allocations: 1.541 MB / 0.8809 GB, free: 3.371 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.1165/0.1189, allocations: 125.2 MB / 1.003 GB, free: 5.68 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.463e-05/0.1189, allocations: 0 / 1.003 GB, free: 5.68 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 3.601e-05/0.119, allocations: 7.938 kB / 1.003 GB, free: 5.672 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 5.97e-05/0.119, allocations: 11.92 kB / 1.003 GB, free: 5.66 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003682/0.1194, allocations: 67.66 kB / 1.003 GB, free: 5.594 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 8.04e-05/0.1195, allocations: 59.72 kB / 1.003 GB, free: 5.535 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 8.645e-05/0.1196, allocations: 8 kB / 1.003 GB, free: 5.527 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 6.652e-05/0.1196, allocations: 27.97 kB / 1.003 GB, free: 5.5 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 4.408e-05/0.1197, allocations: 19.91 kB / 1.003 GB, free: 5.48 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.1197, allocations: 4 kB / 1.003 GB, free: 5.477 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.1198, allocations: 27.92 kB / 1.003 GB, free: 5.449 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.1198, allocations: 8 kB / 1.003 GB, free: 5.441 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.506e-05/0.1198, allocations: 19.92 kB / 1.003 GB, free: 5.422 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.12, allocations: 55.75 kB / 1.003 GB, free: 5.367 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.12, allocations: 0 / 1.003 GB, free: 5.367 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.342e-06/0.12, allocations: 0 / 1.003 GB, free: 5.367 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.12, allocations: 0 / 1.003 GB, free: 5.367 MB / 0.9167 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.000414/0.1204, allocations: 388.5 kB / 1.004 GB, free: 4.949 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.1204, allocations: 8.031 kB / 1.004 GB, free: 4.941 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002104/0.1206, allocations: 28.75 kB / 1.004 GB, free: 4.914 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.1208, allocations: 120.6 kB / 1.004 GB, free: 4.77 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.1208, allocations: 384 / 1.004 GB, free: 4.77 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-06/0.1208, allocations: 4.375 kB / 1.004 GB, free: 4.766 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.1209, allocations: 62.94 kB / 1.004 GB, free: 4.695 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.1209, allocations: 4.188 kB / 1.004 GB, free: 4.691 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.1209, allocations: 4.312 kB / 1.004 GB, free: 4.688 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.1209, allocations: 384 / 1.004 GB, free: 4.688 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.719e-05/0.121, allocations: 11.92 kB / 1.004 GB, free: 4.676 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003215/0.1213, allocations: 260.3 kB / 1.004 GB, free: 4.395 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.827e-05/0.1214, allocations: 47.06 kB / 1.004 GB, free: 4.336 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.546e-05/0.1214, allocations: 7.688 kB / 1.004 GB, free: 4.324 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.948e-06/0.1214, allocations: 4 kB / 1.004 GB, free: 4.32 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.1214, allocations: 33.39 kB / 1.004 GB, free: 4.277 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1214, allocations: 0 / 1.004 GB, free: 4.277 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3): time 0.0001312/0.1215, allocations: 49.72 kB / 1.004 GB, free: 4.223 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.1216, allocations: 51.41 kB / 1.005 GB, free: 4.16 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.898e-05/0.1216, allocations: 173.8 kB / 1.005 GB, free: 3.973 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.1216, allocations: 29.64 kB / 1.005 GB, free: 3.938 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.461e-05/0.1217, allocations: 138.8 kB / 1.005 GB, free: 3.797 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.1217, allocations: 11.95 kB / 1.005 GB, free: 3.785 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.1217, allocations: 23.36 kB / 1.005 GB, free: 3.75 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1219, allocations: 496.1 kB / 1.005 GB, free: 3.254 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/0.1219, allocations: 7.938 kB / 1.005 GB, free: 3.246 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.084e-05/0.1219, allocations: 192 / 1.005 GB, free: 3.246 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.269e-05/0.1219, allocations: 23.77 kB / 1.005 GB, free: 3.219 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1219, allocations: 0 / 1.005 GB, free: 3.219 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.305e-05/0.122, allocations: 45.64 kB / 1.005 GB, free: 3.168 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.122, allocations: 7.938 kB / 1.005 GB, free: 3.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.122, allocations: 4 kB / 1.005 GB, free: 3.156 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.122, allocations: 3.938 kB / 1.005 GB, free: 3.152 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.565e-05/0.1221, allocations: 15.98 kB / 1.005 GB, free: 3.137 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-06/0.1221, allocations: 0 / 1.005 GB, free: 3.137 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.596e-05/0.1221, allocations: 4 kB / 1.005 GB, free: 3.133 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.1221, allocations: 0 / 1.005 GB, free: 3.133 MB / 0.9167 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.804e-05/0.1222, allocations: 160.6 kB / 1.006 GB, free: 2.965 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.1222, allocations: 4 kB / 1.006 GB, free: 2.961 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.457e-05/0.1222, allocations: 15.92 kB / 1.006 GB, free: 2.941 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1222, allocations: 0 / 1.006 GB, free: 2.941 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.1222, allocations: 0 / 1.006 GB, free: 2.941 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1222, allocations: 4 kB / 1.006 GB, free: 2.938 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.901e-05/0.1223, allocations: 109.2 kB / 1.006 GB, free: 2.805 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1223, allocations: 0 / 1.006 GB, free: 2.805 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.299e-05/0.1224, allocations: 8 kB / 1.006 GB, free: 2.797 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.1224, allocations: 0 / 1.006 GB, free: 2.797 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-06/0.1224, allocations: 0 / 1.006 GB, free: 2.797 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1224, allocations: 3.984 kB / 1.006 GB, free: 2.793 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1224, allocations: 3.938 kB / 1.006 GB, free: 2.789 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.1225, allocations: 195.8 kB / 1.006 GB, free: 2.578 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.933e-06/0.1225, allocations: 3.984 kB / 1.006 GB, free: 2.574 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.135e-06/0.1225, allocations: 0 / 1.006 GB, free: 2.574 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.905e-05/0.1225, allocations: 8 kB / 1.006 GB, free: 2.566 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.1226, allocations: 15.92 kB / 1.006 GB, free: 2.551 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.1226, allocations: 0 / 1.006 GB, free: 2.551 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.785e-05/0.1226, allocations: 131.2 kB / 1.006 GB, free: 2.422 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1226, allocations: 4 kB / 1.006 GB, free: 2.418 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001448/0.1228, allocations: 11.95 kB / 1.006 GB, free: 2.406 MB / 0.9167 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.077e-05/0.1228, allocations: 91.25 kB / 1.006 GB, free: 2.309 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.055e-05/0.1229, allocations: 19.62 kB / 1.006 GB, free: 2.285 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.1229, allocations: 3.938 kB / 1.006 GB, free: 2.281 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.35e-05/0.1229, allocations: 27.67 kB / 1.006 GB, free: 2.25 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.1231, allocations: 4 kB / 1.006 GB, free: 2.246 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004754/0.1236, allocations: 166 kB / 1.006 GB, free: 2.055 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.478e-05/0.1237, allocations: 59.36 kB / 1.006 GB, free: 1.977 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.877e-05/0.1237, allocations: 8.25 kB / 1.006 GB, free: 1.969 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.104e-05/0.1238, allocations: 82.2 kB / 1.007 GB, free: 1.887 MB / 0.9167 GB Notification: Performance of SimCode: time 9.02e-07/0.1238, allocations: 0 / 1.007 GB, free: 1.887 MB / 0.9167 GB Notification: Performance of Templates: time 0.002525/0.1263, allocations: 1.071 MB / 1.008 GB, free: 0.8398 MB / 0.9167 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.4700795277021825]