Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001011/0.001011, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001085/0.001085, allocations: 166 kB / 24.87 MB, free: 9.258 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.014/1.014, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.91/1.91, allocations: 377.9 MB / 0.6247 GB, free: 8.422 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.436e-06/3.436e-06, allocations: 4 kB / 0.8128 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.786e-05, allocations: 3.219 kB / 0.8128 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003416/0.003444, allocations: 1.539 MB / 0.8143 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1187/0.1221, allocations: 125.2 MB / 0.9366 GB, free: 2.289 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.291e-05/0.1222, allocations: 0 / 0.9366 GB, free: 2.289 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 3.928e-05/0.1222, allocations: 7.922 kB / 0.9366 GB, free: 2.281 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 6.346e-05/0.1223, allocations: 7.938 kB / 0.9366 GB, free: 2.273 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003809/0.1227, allocations: 63.61 kB / 0.9366 GB, free: 2.211 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 8.281e-05/0.1228, allocations: 67.7 kB / 0.9367 GB, free: 2.145 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 9.1e-05/0.1229, allocations: 8 kB / 0.9367 GB, free: 2.137 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 6.616e-05/0.1229, allocations: 23.97 kB / 0.9367 GB, free: 2.113 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 4.296e-05/0.123, allocations: 19.92 kB / 0.9368 GB, free: 2.094 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.123, allocations: 4 kB / 0.9368 GB, free: 2.09 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 9.217e-05/0.1231, allocations: 23.98 kB / 0.9368 GB, free: 2.066 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 2.177e-05/0.1231, allocations: 11.97 kB / 0.9368 GB, free: 2.055 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 2.008e-05/0.1231, allocations: 15.94 kB / 0.9368 GB, free: 2.039 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.1232, allocations: 51.81 kB / 0.9369 GB, free: 1.988 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1232, allocations: 0 / 0.9369 GB, free: 1.988 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1232, allocations: 3.938 kB / 0.9369 GB, free: 1.984 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.1232, allocations: 4 kB / 0.9369 GB, free: 1.98 MB / 0.8855 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.0003454/0.1236, allocations: 388.4 kB / 0.9372 GB, free: 1.562 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.1236, allocations: 8.031 kB / 0.9372 GB, free: 1.555 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.1237, allocations: 12.92 kB / 0.9373 GB, free: 1.543 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.745e-05/0.1237, allocations: 120.5 kB / 0.9374 GB, free: 1.398 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.1238, allocations: 4.375 kB / 0.9374 GB, free: 1.395 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-06/0.1238, allocations: 384 / 0.9374 GB, free: 1.395 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.1239, allocations: 66.94 kB / 0.9374 GB, free: 1.32 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.1239, allocations: 192 / 0.9374 GB, free: 1.32 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-06/0.1239, allocations: 4.375 kB / 0.9374 GB, free: 1.316 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.1239, allocations: 384 / 0.9374 GB, free: 1.316 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.613e-05/0.1239, allocations: 19.86 kB / 0.9375 GB, free: 1.297 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002547/0.1242, allocations: 256.3 kB / 0.9377 GB, free: 1.02 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 6.153e-05/0.1242, allocations: 31.05 kB / 0.9377 GB, free: 0.9766 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.676e-05/0.1243, allocations: 11.69 kB / 0.9377 GB, free: 0.9609 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.954e-05/0.1244, allocations: 16.02 kB / 0.9378 GB, free: 0.9453 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.1244, allocations: 41.39 kB / 0.9378 GB, free: 0.8945 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 1.863e-06/0.1244, allocations: 4 kB / 0.9378 GB, free: 0.8906 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.0001354/0.1245, allocations: 53.58 kB / 0.9379 GB, free: 0.832 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.1246, allocations: 51.41 kB / 0.9379 GB, free: 0.7695 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.215e-05/0.1246, allocations: 166 kB / 0.9381 GB, free: 0.5898 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.1246, allocations: 25.7 kB / 0.9381 GB, free: 0.5586 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/0.1247, allocations: 138.9 kB / 0.9382 GB, free: 428 kB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.1247, allocations: 3.953 kB / 0.9382 GB, free: 424 kB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/0.1247, allocations: 23.36 kB / 0.9382 GB, free: 392 kB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1248, allocations: 0.4961 MB / 0.9387 GB, free: 15.88 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.592e-05/0.1249, allocations: 4 kB / 0.9387 GB, free: 15.87 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.255e-05/0.1249, allocations: 4 kB / 0.9387 GB, free: 15.87 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.149e-05/0.1249, allocations: 19.67 kB / 0.9388 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1249, allocations: 0 / 0.9388 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.315e-05/0.125, allocations: 45.59 kB / 0.9388 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.125, allocations: 11.92 kB / 0.9388 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.125, allocations: 0 / 0.9388 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.874e-06/0.125, allocations: 336 / 0.9388 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.698e-05/0.1251, allocations: 15.94 kB / 0.9388 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.1251, allocations: 4 kB / 0.9388 GB, free: 15.76 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.5e-05/0.1251, allocations: 7.984 kB / 0.9388 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.1251, allocations: 0 / 0.9388 GB, free: 15.75 MB / 0.9011 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.767e-05/0.1251, allocations: 156.6 kB / 0.939 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.1252, allocations: 11.94 kB / 0.939 GB, free: 15.58 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.996e-05/0.1253, allocations: 57.59 kB / 0.9391 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.1253, allocations: 4 kB / 0.9391 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.1253, allocations: 0 / 0.9391 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1253, allocations: 0 / 0.9391 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.527e-05/0.1254, allocations: 109.2 kB / 0.9392 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1254, allocations: 4 kB / 0.9392 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.081e-05/0.1254, allocations: 4 kB / 0.9392 GB, free: 15.37 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.1254, allocations: 4 kB / 0.9392 GB, free: 15.37 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.928e-06/0.1254, allocations: 4 kB / 0.9392 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1254, allocations: 3.938 kB / 0.9392 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.1254, allocations: 7.922 kB / 0.9392 GB, free: 15.35 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.222e-05/0.1255, allocations: 184 kB / 0.9394 GB, free: 15.15 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-06/0.1255, allocations: 11.94 kB / 0.9394 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.316e-06/0.1255, allocations: 0 / 0.9394 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.647e-05/0.1255, allocations: 4 kB / 0.9394 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.1256, allocations: 7.922 kB / 0.9394 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.1256, allocations: 4 kB / 0.9394 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 3.7e-05/0.1256, allocations: 131.2 kB / 0.9395 GB, free: 15 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8e-08/0.1256, allocations: 4 kB / 0.9395 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001528/0.1258, allocations: 12 kB / 0.9395 GB, free: 14.98 MB / 0.9011 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.000117/0.1259, allocations: 111.2 kB / 0.9396 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 6.665e-05/0.126, allocations: 19.62 kB / 0.9397 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.126, allocations: 4 kB / 0.9397 GB, free: 14.83 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 2.16e-05/0.126, allocations: 15.67 kB / 0.9397 GB, free: 14.81 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/0.1262, allocations: 15.94 kB / 0.9397 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002718/0.1264, allocations: 154.1 kB / 0.9398 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.918e-05/0.1265, allocations: 59.34 kB / 0.9399 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 2.821e-05/0.1265, allocations: 0 / 0.9399 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.879e-05/0.1266, allocations: 82.19 kB / 0.94 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of SimCode: time 4.51e-07/0.1266, allocations: 0 / 0.94 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of Templates: time 0.002655/0.1292, allocations: 1.136 MB / 0.9411 GB, free: 13.34 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.24506925791502]