Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.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.001014/0.001014, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001154/0.001154, allocations: 177 kB / 23.36 MB, free: 1.129 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.9658/0.9658, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.38/2.38, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153e-05/1.302e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002127/0.00214, allocations: 1.332 MB / 0.8399 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1209/0.123, allocations: 127.1 MB / 0.964 GB, free: 13.27 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.152e-05/0.123, allocations: 0 / 0.964 GB, free: 13.27 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.665e-05/0.123, allocations: 0 / 0.964 GB, free: 13.27 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.755e-05/0.1231, allocations: 7.875 kB / 0.964 GB, free: 13.26 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.1234, allocations: 63.66 kB / 0.9641 GB, free: 13.2 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.193e-05/0.1234, allocations: 15.88 kB / 0.9641 GB, free: 13.18 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.115e-05/0.1235, allocations: 7.984 kB / 0.9641 GB, free: 13.17 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.56e-05/0.1235, allocations: 23.91 kB / 0.9641 GB, free: 13.15 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.803e-05/0.1236, allocations: 8 kB / 0.9641 GB, free: 13.14 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.1236, allocations: 0 / 0.9641 GB, free: 13.14 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.439e-05/0.1236, allocations: 19.92 kB / 0.9642 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.1237, allocations: 0 / 0.9642 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.467e-05/0.1237, allocations: 7.938 kB / 0.9642 GB, free: 13.11 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 8.707e-05/0.1238, allocations: 31.89 kB / 0.9642 GB, free: 13.08 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1238, allocations: 0 / 0.9642 GB, free: 13.08 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1238, allocations: 0 / 0.9642 GB, free: 13.08 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.1238, allocations: 4 kB / 0.9642 GB, free: 13.08 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002372/0.124, allocations: 224.7 kB / 0.9644 GB, free: 12.83 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.124, allocations: 12.62 kB / 0.9644 GB, free: 12.82 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.1242, allocations: 16.86 kB / 0.9644 GB, free: 12.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.323e-05/0.1242, allocations: 113.7 kB / 0.9646 GB, free: 12.67 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.343e-05/0.1243, allocations: 55.95 kB / 0.9646 GB, free: 12.6 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.583e-06/0.1243, allocations: 4.375 kB / 0.9646 GB, free: 12.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.198e-05/0.1243, allocations: 54.89 kB / 0.9647 GB, free: 12.54 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.488e-06/0.1243, allocations: 192 / 0.9647 GB, free: 12.54 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.51e-06/0.1244, allocations: 384 / 0.9647 GB, free: 12.54 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1244, allocations: 4.125 kB / 0.9647 GB, free: 12.53 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.501e-05/0.1244, allocations: 8 kB / 0.9647 GB, free: 12.52 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.126e-05/0.1244, allocations: 61.03 kB / 0.9647 GB, free: 12.45 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 4.565e-05/0.1245, allocations: 26.56 kB / 0.9648 GB, free: 12.41 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.195e-05/0.1245, allocations: 8.859 kB / 0.9648 GB, free: 12.4 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-06/0.1245, allocations: 0 / 0.9648 GB, free: 12.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.1245, allocations: 38.5 kB / 0.9648 GB, free: 12.36 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=3): time 5.42e-07/0.1245, allocations: 0 / 0.9648 GB, free: 12.36 MB / 0.9323 GB Notification: Performance of matching and sorting (n=3): time 8.481e-05/0.1246, allocations: 41.83 kB / 0.9648 GB, free: 12.31 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.1246, allocations: 51.41 kB / 0.9649 GB, free: 12.25 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.244e-05/0.1247, allocations: 106.7 kB / 0.965 GB, free: 12.13 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.1247, allocations: 25.7 kB / 0.965 GB, free: 12.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 2.001e-05/0.1247, allocations: 80.14 kB / 0.9651 GB, free: 12.02 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.1247, allocations: 11.89 kB / 0.9651 GB, free: 12 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.223e-05/0.1247, allocations: 17.7 kB / 0.9651 GB, free: 11.98 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.713e-05/0.1248, allocations: 318.8 kB / 0.9654 GB, free: 11.66 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.176e-06/0.1248, allocations: 4 kB / 0.9654 GB, free: 11.66 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.644e-06/0.1248, allocations: 7.984 kB / 0.9654 GB, free: 11.65 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.198e-05/0.1249, allocations: 16.8 kB / 0.9655 GB, free: 11.63 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1249, allocations: 0 / 0.9655 GB, free: 11.63 MB / 0.9323 GB Notification: Performance of matching and sorting (n=3) (initialization): time 3.376e-05/0.1249, allocations: 42.16 kB / 0.9655 GB, free: 11.58 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.1249, allocations: 4 kB / 0.9655 GB, free: 11.58 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.1249, allocations: 0 / 0.9655 GB, free: 11.58 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.446e-06/0.1249, allocations: 4 kB / 0.9655 GB, free: 11.57 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.366e-05/0.125, allocations: 4 kB / 0.9655 GB, free: 11.57 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.953e-06/0.125, allocations: 0 / 0.9655 GB, free: 11.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.325e-05/0.125, allocations: 3.984 kB / 0.9655 GB, free: 11.57 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.125, allocations: 3.938 kB / 0.9655 GB, free: 11.56 MB / 0.9323 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 4.592e-05/0.125, allocations: 113.8 kB / 0.9656 GB, free: 11.44 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.741e-06/0.125, allocations: 8.031 kB / 0.9656 GB, free: 11.43 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.434e-05/0.125, allocations: 7.688 kB / 0.9656 GB, free: 11.42 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.125, allocations: 0 / 0.9656 GB, free: 11.42 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.125, allocations: 4 kB / 0.9656 GB, free: 11.42 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.125, allocations: 0 / 0.9656 GB, free: 11.42 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.754e-05/0.1251, allocations: 77.77 kB / 0.9657 GB, free: 11.32 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.51e-07/0.1251, allocations: 0 / 0.9657 GB, free: 11.32 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.387e-05/0.1251, allocations: 4 kB / 0.9657 GB, free: 11.32 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.22e-07/0.1251, allocations: 0 / 0.9657 GB, free: 11.32 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-06/0.1251, allocations: 0 / 0.9657 GB, free: 11.32 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.7e-07/0.1251, allocations: 0 / 0.9657 GB, free: 11.32 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1251, allocations: 4 kB / 0.9657 GB, free: 11.32 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.676e-05/0.1252, allocations: 69.06 kB / 0.9658 GB, free: 11.23 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 1.32e-05/0.1252, allocations: 4 kB / 0.9658 GB, free: 11.23 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.891e-06/0.1252, allocations: 0 / 0.9658 GB, free: 11.23 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.083e-05/0.1252, allocations: 7.922 kB / 0.9658 GB, free: 11.22 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.087e-05/0.1252, allocations: 4 kB / 0.9658 GB, free: 11.21 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-06/0.1252, allocations: 0 / 0.9658 GB, free: 11.21 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 1.16e-05/0.1252, allocations: 8.859 kB / 0.9658 GB, free: 11.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5e-08/0.1252, allocations: 0 / 0.9658 GB, free: 11.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 8.929e-05/0.1253, allocations: 15.94 kB / 0.9658 GB, free: 11.19 MB / 0.9323 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.347e-05/0.1254, allocations: 80.41 kB / 0.9659 GB, free: 11.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 5.123e-05/0.1254, allocations: 16.86 kB / 0.9659 GB, free: 11.08 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1254, allocations: 0 / 0.9659 GB, free: 11.08 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 1.314e-05/0.1255, allocations: 12.8 kB / 0.9659 GB, free: 11.07 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.203e-05/0.1255, allocations: 15.92 kB / 0.9659 GB, free: 11.05 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004252/0.126, allocations: 148.5 kB / 0.9661 GB, free: 10.88 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.466e-05/0.126, allocations: 55.34 kB / 0.9661 GB, free: 10.8 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 2.381e-05/0.126, allocations: 4 kB / 0.9661 GB, free: 10.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.175e-05/0.1261, allocations: 55.38 kB / 0.9662 GB, free: 10.75 MB / 0.9323 GB Notification: Performance of SimCode: time 5.91e-07/0.1261, allocations: 0 / 0.9662 GB, free: 10.75 MB / 0.9323 GB Notification: Performance of Templates: time 0.00169/0.1277, allocations: 0.5199 MB / 0.9667 GB, free: 10.23 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_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.190744079649448]