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.001016/0.001016, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001411/0.001411, allocations: 173 kB / 23.49 MB, free: 1.059 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.978/0.978, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.127/2.127, allocations: 429.5 MB / 0.6736 GB, free: 4.016 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.793e-06/1.793e-06, allocations: 0 / 0.8782 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.438e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001974/0.001998, allocations: 1.542 MB / 0.8797 GB, free: 5.137 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.116/0.118, allocations: 127.4 MB / 1.004 GB, free: 5.238 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.446e-05/0.118, allocations: 4 kB / 1.004 GB, free: 5.234 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.255e-05/0.1181, allocations: 3.938 kB / 1.004 GB, free: 5.23 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.486e-05/0.1181, allocations: 11.75 kB / 1.004 GB, free: 5.223 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.1185, allocations: 75.55 kB / 1.004 GB, free: 5.148 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.723e-05/0.1186, allocations: 51.78 kB / 1.004 GB, free: 5.098 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.205e-05/0.1187, allocations: 11.98 kB / 1.004 GB, free: 5.086 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.382e-05/0.1187, allocations: 35.97 kB / 1.004 GB, free: 5.051 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.103e-05/0.1188, allocations: 23.91 kB / 1.004 GB, free: 5.027 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.1188, allocations: 4 kB / 1.004 GB, free: 5.023 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.051e-05/0.1189, allocations: 16 kB / 1.004 GB, free: 5.008 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.1189, allocations: 11.92 kB / 1.004 GB, free: 4.996 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.241e-05/0.1189, allocations: 8 kB / 1.004 GB, free: 4.988 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.119, allocations: 55.81 kB / 1.004 GB, free: 4.934 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.119, allocations: 0 / 1.004 GB, free: 4.934 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.633e-06/0.119, allocations: 3.938 kB / 1.004 GB, free: 4.93 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.119, allocations: 0 / 1.004 GB, free: 4.93 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003786/0.1194, allocations: 396.4 kB / 1.005 GB, free: 4.504 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.1195, allocations: 8.031 kB / 1.005 GB, free: 4.496 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.1196, allocations: 20.81 kB / 1.005 GB, free: 4.477 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.708e-05/0.1197, allocations: 112.6 kB / 1.005 GB, free: 4.34 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.1197, allocations: 8.375 kB / 1.005 GB, free: 4.332 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.1197, allocations: 384 / 1.005 GB, free: 4.332 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.1199, allocations: 70.92 kB / 1.005 GB, free: 4.254 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.1199, allocations: 192 / 1.005 GB, free: 4.254 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.1199, allocations: 384 / 1.005 GB, free: 4.254 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.1199, allocations: 8.375 kB / 1.005 GB, free: 4.246 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.945e-05/0.1199, allocations: 15.86 kB / 1.005 GB, free: 4.23 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005606/0.1205, allocations: 279.7 kB / 1.005 GB, free: 3.922 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.108e-05/0.1206, allocations: 35.05 kB / 1.005 GB, free: 3.875 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.475e-05/0.1206, allocations: 15.69 kB / 1.005 GB, free: 3.855 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.1206, allocations: 7.875 kB / 1.005 GB, free: 3.848 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.1206, allocations: 41.33 kB / 1.005 GB, free: 3.797 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 7.21e-07/0.1206, allocations: 0 / 1.005 GB, free: 3.797 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0001494/0.1208, allocations: 49.77 kB / 1.005 GB, free: 3.742 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.1208, allocations: 55.41 kB / 1.005 GB, free: 3.676 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.231e-05/0.1209, allocations: 169.9 kB / 1.006 GB, free: 3.492 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.1209, allocations: 25.7 kB / 1.006 GB, free: 3.461 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.473e-05/0.1209, allocations: 142.8 kB / 1.006 GB, free: 3.316 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.1209, allocations: 7.891 kB / 1.006 GB, free: 3.309 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-05/0.121, allocations: 23.38 kB / 1.006 GB, free: 3.277 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.1211, allocations: 496.1 kB / 1.006 GB, free: 2.781 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.085e-05/0.1211, allocations: 11.98 kB / 1.006 GB, free: 2.77 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.368e-05/0.1211, allocations: 0 / 1.006 GB, free: 2.77 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.401e-05/0.1211, allocations: 15.69 kB / 1.006 GB, free: 2.75 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1211, allocations: 0 / 1.006 GB, free: 2.75 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.459e-05/0.1212, allocations: 57.58 kB / 1.006 GB, free: 2.688 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1212, allocations: 4 kB / 1.006 GB, free: 2.684 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1212, allocations: 0 / 1.006 GB, free: 2.684 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.1212, allocations: 4 kB / 1.006 GB, free: 2.68 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.299e-05/0.1213, allocations: 15.92 kB / 1.006 GB, free: 2.664 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.1213, allocations: 0 / 1.006 GB, free: 2.664 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.519e-05/0.1213, allocations: 4 kB / 1.006 GB, free: 2.66 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-06/0.1213, allocations: 0 / 1.006 GB, free: 2.66 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 5.907e-05/0.1214, allocations: 156.6 kB / 1.007 GB, free: 2.496 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.602e-05/0.1214, allocations: 7.938 kB / 1.007 GB, free: 2.488 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.448e-05/0.1214, allocations: 15.98 kB / 1.007 GB, free: 2.473 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1214, allocations: 4 kB / 1.007 GB, free: 2.469 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.1214, allocations: 0 / 1.007 GB, free: 2.469 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1214, allocations: 4 kB / 1.007 GB, free: 2.465 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.522e-05/0.1215, allocations: 124.6 kB / 1.007 GB, free: 2.309 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.1215, allocations: 0 / 1.007 GB, free: 2.309 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.997e-05/0.1216, allocations: 11.98 kB / 1.007 GB, free: 2.297 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1216, allocations: 0 / 1.007 GB, free: 2.297 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.1216, allocations: 3.938 kB / 1.007 GB, free: 2.293 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.1216, allocations: 0 / 1.007 GB, free: 2.293 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1216, allocations: 4 kB / 1.007 GB, free: 2.289 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.1217, allocations: 199.8 kB / 1.007 GB, free: 2.074 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-06/0.1217, allocations: 3.953 kB / 1.007 GB, free: 2.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.1217, allocations: 3.938 kB / 1.007 GB, free: 2.066 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.984e-05/0.1217, allocations: 8 kB / 1.007 GB, free: 2.059 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.1218, allocations: 7.984 kB / 1.007 GB, free: 2.051 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.1218, allocations: 0 / 1.007 GB, free: 2.051 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.077e-05/0.1218, allocations: 139.5 kB / 1.007 GB, free: 1.914 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.1218, allocations: 0 / 1.007 GB, free: 1.914 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001451/0.122, allocations: 8 kB / 1.007 GB, free: 1.906 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 8.437e-05/0.1221, allocations: 95.25 kB / 1.007 GB, free: 1.801 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.429e-05/0.1221, allocations: 28.05 kB / 1.007 GB, free: 1.77 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1221, allocations: 0 / 1.007 GB, free: 1.77 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.772e-05/0.1222, allocations: 15.72 kB / 1.007 GB, free: 1.75 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.1224, allocations: 12.08 kB / 1.007 GB, free: 1.738 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005333/0.1229, allocations: 174.1 kB / 1.007 GB, free: 1.539 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.446e-05/0.1229, allocations: 59.34 kB / 1.007 GB, free: 1.461 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.608e-05/0.123, allocations: 0 / 1.007 GB, free: 1.461 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.07e-05/0.123, allocations: 12.5 kB / 1.007 GB, free: 1.445 MB / 0.9636 GB Notification: Performance of SimCode: time 6.11e-07/0.123, allocations: 0 / 1.007 GB, free: 1.445 MB / 0.9636 GB Notification: Performance of Templates: time 0.002433/0.1254, allocations: 0.9555 MB / 1.008 GB, free: 0.5234 MB / 0.9636 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.506214224966243]