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.0009475/0.0009475, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001073/0.001073, allocations: 181 kB / 24.09 MB, free: 420 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 1.044/1.044, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.847/1.847, allocations: 377.9 MB / 0.624 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.186e-06/3.186e-06, allocations: 0 / 0.812 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.833e-05, allocations: 2.875 kB / 0.812 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002209/0.002237, allocations: 1.54 MB / 0.8135 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1172/0.1195, allocations: 125.2 MB / 0.9358 GB, free: 2.316 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.565e-05/0.1195, allocations: 8 kB / 0.9358 GB, free: 2.309 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 3.695e-05/0.1196, allocations: 3.938 kB / 0.9358 GB, free: 2.305 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 6.037e-05/0.1196, allocations: 15.84 kB / 0.9358 GB, free: 2.289 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003422/0.12, allocations: 63.67 kB / 0.9359 GB, free: 2.227 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 7.002e-05/0.1201, allocations: 55.78 kB / 0.9359 GB, free: 2.172 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 9.373e-05/0.1202, allocations: 11.98 kB / 0.9359 GB, free: 2.16 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 6.773e-05/0.1202, allocations: 31.91 kB / 0.936 GB, free: 2.129 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 3.548e-05/0.1203, allocations: 11.98 kB / 0.936 GB, free: 2.117 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.1203, allocations: 8 kB / 0.936 GB, free: 2.109 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 9.298e-05/0.1204, allocations: 23.92 kB / 0.936 GB, free: 2.086 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 1.771e-05/0.1204, allocations: 15.94 kB / 0.936 GB, free: 2.07 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 2.091e-05/0.1204, allocations: 15.92 kB / 0.936 GB, free: 2.055 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.1205, allocations: 47.88 kB / 0.9361 GB, free: 2.008 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1205, allocations: 0 / 0.9361 GB, free: 2.008 MB / 0.8855 GB Notification: Performance of FrontEnd: time 9.52e-07/0.1205, allocations: 4 kB / 0.9361 GB, free: 2.004 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.1205, allocations: 0 / 0.9361 GB, free: 2.004 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.0003575/0.1209, allocations: 388.4 kB / 0.9365 GB, free: 1.586 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.1209, allocations: 12.03 kB / 0.9365 GB, free: 1.574 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.842e-05/0.121, allocations: 8.875 kB / 0.9365 GB, free: 1.566 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.1212, allocations: 124.5 kB / 0.9366 GB, free: 1.418 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.1212, allocations: 4.375 kB / 0.9366 GB, free: 1.414 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.1212, allocations: 4.375 kB / 0.9366 GB, free: 1.41 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.1213, allocations: 66.88 kB / 0.9367 GB, free: 1.336 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.1213, allocations: 192 / 0.9367 GB, free: 1.336 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.1213, allocations: 4.375 kB / 0.9367 GB, free: 1.332 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1214, allocations: 384 / 0.9367 GB, free: 1.332 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.238e-05/0.1214, allocations: 11.92 kB / 0.9367 GB, free: 1.32 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002432/0.1216, allocations: 256.4 kB / 0.9369 GB, free: 1.043 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 5.441e-05/0.1217, allocations: 39 kB / 0.937 GB, free: 0.9922 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.999e-05/0.1217, allocations: 15.77 kB / 0.937 GB, free: 0.9727 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.1218, allocations: 12 kB / 0.937 GB, free: 0.9609 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.1218, allocations: 41.38 kB / 0.937 GB, free: 0.9102 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 2.455e-06/0.1218, allocations: 3.984 kB / 0.937 GB, free: 0.9062 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.000127/0.1219, allocations: 49.59 kB / 0.9371 GB, free: 0.8516 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.122, allocations: 55.34 kB / 0.9371 GB, free: 0.7852 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.353e-05/0.122, allocations: 173.9 kB / 0.9373 GB, free: 0.5977 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.1221, allocations: 25.7 kB / 0.9373 GB, free: 0.5664 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.1221, allocations: 138.9 kB / 0.9375 GB, free: 436 kB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.1221, allocations: 7.938 kB / 0.9375 GB, free: 428 kB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.1221, allocations: 23.38 kB / 0.9375 GB, free: 396 kB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1223, allocations: 496.1 kB / 0.938 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.328e-05/0.1223, allocations: 4 kB / 0.938 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.083e-05/0.1223, allocations: 0 / 0.938 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.316e-05/0.1223, allocations: 27.66 kB / 0.938 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1223, allocations: 0 / 0.938 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.602e-05/0.1224, allocations: 41.59 kB / 0.938 GB, free: 15.81 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.1224, allocations: 11.94 kB / 0.938 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1224, allocations: 0 / 0.938 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1224, allocations: 4 kB / 0.938 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.539e-05/0.1225, allocations: 11.98 kB / 0.9381 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.1225, allocations: 0 / 0.9381 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.316e-05/0.1225, allocations: 7.984 kB / 0.9381 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.1225, allocations: 0 / 0.9381 GB, free: 15.77 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.745e-05/0.1226, allocations: 160.6 kB / 0.9382 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.1226, allocations: 7.891 kB / 0.9382 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.615e-05/0.1227, allocations: 57.61 kB / 0.9383 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.1227, allocations: 0 / 0.9383 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.1227, allocations: 11.92 kB / 0.9383 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1227, allocations: 0 / 0.9383 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.525e-05/0.1228, allocations: 101.2 kB / 0.9384 GB, free: 15.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1228, allocations: 0 / 0.9384 GB, free: 15.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.175e-05/0.1228, allocations: 11.98 kB / 0.9384 GB, free: 15.39 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.1228, allocations: 0 / 0.9384 GB, free: 15.39 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.1228, allocations: 4 kB / 0.9384 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.82e-07/0.1228, allocations: 0 / 0.9384 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1228, allocations: 3.938 kB / 0.9384 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.65e-05/0.1229, allocations: 191.9 kB / 0.9386 GB, free: 15.17 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 9.237e-06/0.1229, allocations: 3.953 kB / 0.9386 GB, free: 15.17 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.065e-06/0.1229, allocations: 4 kB / 0.9386 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.632e-05/0.123, allocations: 7.984 kB / 0.9386 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.123, allocations: 16.34 kB / 0.9386 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.123, allocations: 0 / 0.9386 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 3.632e-05/0.123, allocations: 131.1 kB / 0.9387 GB, free: 15.01 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.123, allocations: 0 / 0.9387 GB, free: 15.01 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001457/0.1232, allocations: 12 kB / 0.9388 GB, free: 15 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.0001354/0.1233, allocations: 111.2 kB / 0.9389 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 6.728e-05/0.1234, allocations: 23.66 kB / 0.9389 GB, free: 14.85 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1234, allocations: 4 kB / 0.9389 GB, free: 14.85 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 1.754e-05/0.1234, allocations: 11.69 kB / 0.9389 GB, free: 14.83 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.1236, allocations: 15.98 kB / 0.9389 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000247/0.1238, allocations: 154.1 kB / 0.9391 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.581e-05/0.1239, allocations: 55.36 kB / 0.9391 GB, free: 14.56 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 2.241e-05/0.1239, allocations: 11.98 kB / 0.9391 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.454e-05/0.1239, allocations: 74.2 kB / 0.9392 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of SimCode: time 5.91e-07/0.1239, allocations: 0 / 0.9392 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of Templates: time 0.002689/0.1266, allocations: 1.115 MB / 0.9403 GB, free: 13.39 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.1242123250849545]