Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.001445/0.001445, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001756/0.001756, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9811/0.9811, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.888/1.888, allocations: 377.8 MB / 0.6236 GB, free: 8.535 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.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFra1.phi|masFra1.X.[0-9,]+.|masFra2.X.[0-9,]+.|masFra1.T",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFra1.phi|masFra1.X.[0-9,]+.|masFra2.X.[0-9,]+.|masFra1.T",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.842e-05/2.995e-05, allocations: 5.922 kB / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003931/0.003961, allocations: 1.695 MB / 0.8132 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1296/0.1335, allocations: 147.5 MB / 0.9572 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.1337, allocations: 0 / 0.9572 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0001759/0.1338, allocations: 15.8 kB / 0.9572 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002691/0.1341, allocations: 55.58 kB / 0.9573 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.1344, allocations: 151.3 kB / 0.9574 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.1346, allocations: 127.5 kB / 0.9575 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1347, allocations: 17.58 kB / 0.9575 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009618/0.1356, allocations: 249.6 kB / 0.9578 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 5.828e-05/0.1357, allocations: 39.89 kB / 0.9578 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.1357, allocations: 4 kB / 0.9578 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002844/0.136, allocations: 171.6 kB / 0.958 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 4.949e-05/0.136, allocations: 27.91 kB / 0.958 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.1361, allocations: 31.92 kB / 0.958 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003178/0.1364, allocations: 191.3 kB / 0.9582 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1364, allocations: 4 kB / 0.9582 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1364, allocations: 0 / 0.9582 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.1364, allocations: 0 / 0.9582 GB, free: 11.09 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004454/0.1369, allocations: 463.8 kB / 0.9587 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.1369, allocations: 8.031 kB / 0.9587 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005453/0.1374, allocations: 107.7 kB / 0.9588 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.1376, allocations: 155.8 kB / 0.9589 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.1377, allocations: 11.98 kB / 0.9589 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.1377, allocations: 7.984 kB / 0.9589 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.1379, allocations: 121.7 kB / 0.9591 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1379, allocations: 0 / 0.9591 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.1379, allocations: 4 kB / 0.9591 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.138, allocations: 0 / 0.9591 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.1381, allocations: 55.89 kB / 0.9591 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005117/0.1386, allocations: 371.4 kB / 0.9595 GB, free: 9.711 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/0.1388, allocations: 107.1 kB / 0.9596 GB, free: 9.594 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.67e-05/0.1389, allocations: 43.61 kB / 0.9596 GB, free: 9.547 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.1389, allocations: 0 / 0.9596 GB, free: 9.547 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.1389, allocations: 37.39 kB / 0.9597 GB, free: 9.5 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.1389, allocations: 4 kB / 0.9597 GB, free: 9.496 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0002315/0.1391, allocations: 101.5 kB / 0.9598 GB, free: 9.391 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.1392, allocations: 51.41 kB / 0.9598 GB, free: 9.328 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.823e-05/0.1393, allocations: 200 kB / 0.96 GB, free: 9.117 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.1393, allocations: 25.7 kB / 0.96 GB, free: 9.086 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.574e-05/0.1393, allocations: 154.9 kB / 0.9602 GB, free: 8.93 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.1394, allocations: 27.75 kB / 0.9602 GB, free: 8.902 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.1394, allocations: 35.3 kB / 0.9602 GB, free: 8.859 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1395, allocations: 0.4923 MB / 0.9607 GB, free: 8.355 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.987e-05/0.1395, allocations: 12 kB / 0.9607 GB, free: 8.344 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.178e-05/0.1396, allocations: 98.45 kB / 0.9608 GB, free: 8.223 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.633e-05/0.1397, allocations: 48.14 kB / 0.9609 GB, free: 8.172 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1397, allocations: 0 / 0.9609 GB, free: 8.172 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001295/0.1398, allocations: 97.47 kB / 0.9609 GB, free: 8.07 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1398, allocations: 4 kB / 0.961 GB, free: 8.066 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1398, allocations: 0 / 0.961 GB, free: 8.066 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.1399, allocations: 0 / 0.961 GB, free: 8.066 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.14, allocations: 28 kB / 0.961 GB, free: 8.039 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.14, allocations: 0 / 0.961 GB, free: 8.039 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.74e-05/0.14, allocations: 11.95 kB / 0.961 GB, free: 8.027 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-06/0.14, allocations: 8 kB / 0.961 GB, free: 8.02 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 (8): * Single equations (assignments): 8 * 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 7.848e-05/0.1401, allocations: 156.6 kB / 0.9611 GB, free: 7.855 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.715e-05/0.1401, allocations: 19.89 kB / 0.9612 GB, free: 7.836 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.875e-05/0.1402, allocations: 8.781 kB / 0.9612 GB, free: 7.824 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1402, allocations: 7.938 kB / 0.9612 GB, free: 7.816 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.1402, allocations: 4 kB / 0.9612 GB, free: 7.812 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1402, allocations: 0 / 0.9612 GB, free: 7.812 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.1405, allocations: 369.4 kB / 0.9615 GB, free: 7.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1405, allocations: 0 / 0.9615 GB, free: 7.41 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.88e-05/0.1406, allocations: 19.97 kB / 0.9616 GB, free: 7.391 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1406, allocations: 4 kB / 0.9616 GB, free: 7.387 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.1406, allocations: 4 kB / 0.9616 GB, free: 7.383 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1406, allocations: 3.938 kB / 0.9616 GB, free: 7.379 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1406, allocations: 4 kB / 0.9616 GB, free: 7.375 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.1408, allocations: 235.8 kB / 0.9618 GB, free: 7.125 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.305e-05/0.1408, allocations: 19.89 kB / 0.9618 GB, free: 7.105 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.1408, allocations: 0 / 0.9618 GB, free: 7.105 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.894e-05/0.1408, allocations: 7.984 kB / 0.9618 GB, free: 7.098 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.1409, allocations: 11.98 kB / 0.9618 GB, free: 7.086 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.1409, allocations: 4 kB / 0.9618 GB, free: 7.082 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.652e-05/0.1409, allocations: 145.2 kB / 0.962 GB, free: 6.941 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.1409, allocations: 4 kB / 0.962 GB, free: 6.938 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001775/0.1411, allocations: 35.88 kB / 0.962 GB, free: 6.902 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 (8): * Single equations (assignments): 8 * 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.0001431/0.1413, allocations: 115.2 kB / 0.9621 GB, free: 6.781 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001398/0.1414, allocations: 55.64 kB / 0.9622 GB, free: 6.723 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.1414, allocations: 0 / 0.9622 GB, free: 6.723 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.753e-05/0.1415, allocations: 39.61 kB / 0.9622 GB, free: 6.68 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.1417, allocations: 36.45 kB / 0.9623 GB, free: 6.645 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006368/0.1423, allocations: 225.9 kB / 0.9625 GB, free: 6.398 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.89e-05/0.1424, allocations: 67.2 kB / 0.9625 GB, free: 6.312 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001206/0.1425, allocations: 32.64 kB / 0.9626 GB, free: 6.277 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.1425, allocations: 16.48 kB / 0.9626 GB, free: 6.262 MB / 0.9167 GB Notification: Performance of SimCode: time 5.31e-07/0.1425, allocations: 0 / 0.9626 GB, free: 6.262 MB / 0.9167 GB Notification: Performance of Templates: time 0.003818/0.1464, allocations: 2.026 MB / 0.9646 GB, free: 4.285 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.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.433172083925456]