Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001269/0.001269, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001357/0.001357, allocations: 169 kB / 24.28 MB, free: 276 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 0.9998/0.9998, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.751/1.751, allocations: 359 MB / 0.6055 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 0.7871 GB, free: 11.74 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.184e-05, allocations: 9.344 kB / 0.7871 GB, free: 11.73 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002284/0.002306, allocations: 1.673 MB / 0.7887 GB, free: 10.06 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1367/0.139, allocations: 147.2 MB / 0.9324 GB, free: 6.402 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.1391, allocations: 0 / 0.9324 GB, free: 6.402 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.1392, allocations: 19.8 kB / 0.9325 GB, free: 6.383 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.1395, allocations: 51.62 kB / 0.9325 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.1397, allocations: 159.2 kB / 0.9327 GB, free: 6.176 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.1399, allocations: 123.5 kB / 0.9328 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.14, allocations: 25.52 kB / 0.9328 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009499/0.141, allocations: 261.4 kB / 0.933 GB, free: 5.844 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.834e-05/0.141, allocations: 35.89 kB / 0.9331 GB, free: 5.809 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.141, allocations: 4 kB / 0.9331 GB, free: 5.805 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002412/0.1413, allocations: 179.6 kB / 0.9333 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.383e-05/0.1413, allocations: 23.91 kB / 0.9333 GB, free: 5.605 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.646e-05/0.1414, allocations: 31.92 kB / 0.9333 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.1416, allocations: 183.4 kB / 0.9335 GB, free: 5.395 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1416, allocations: 0 / 0.9335 GB, free: 5.395 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1416, allocations: 0 / 0.9335 GB, free: 5.395 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.321e-06/0.1416, allocations: 4 kB / 0.9335 GB, free: 5.391 MB / 0.8386 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.0004501/0.1421, allocations: 459.8 kB / 0.9339 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1421, allocations: 12.03 kB / 0.9339 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005674/0.1427, allocations: 107.8 kB / 0.934 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.1429, allocations: 163.7 kB / 0.9342 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.1429, allocations: 0 / 0.9342 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.1429, allocations: 12 kB / 0.9342 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002261/0.1431, allocations: 114.3 kB / 0.9343 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.1431, allocations: 3.938 kB / 0.9343 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.1432, allocations: 8 kB / 0.9343 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.1432, allocations: 0 / 0.9343 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.995e-05/0.1433, allocations: 47.95 kB / 0.9344 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004911/0.1438, allocations: 379.4 kB / 0.9347 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.144, allocations: 107.1 kB / 0.9348 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.357e-05/0.144, allocations: 39.61 kB / 0.9349 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.1441, allocations: 8 kB / 0.9349 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.1441, allocations: 33.39 kB / 0.9349 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.1441, allocations: 0 / 0.9349 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002348/0.1443, allocations: 105.5 kB / 0.935 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.1443, allocations: 51.41 kB / 0.9351 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.826e-05/0.1444, allocations: 188.7 kB / 0.9352 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.1444, allocations: 29.7 kB / 0.9353 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.957e-05/0.1445, allocations: 154.8 kB / 0.9354 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.1445, allocations: 27.89 kB / 0.9354 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.011e-05/0.1446, allocations: 31.36 kB / 0.9355 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1447, allocations: 0.4923 MB / 0.936 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.081e-05/0.1447, allocations: 19.98 kB / 0.936 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.902e-05/0.1448, allocations: 102.4 kB / 0.9361 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.116e-05/0.1449, allocations: 40.14 kB / 0.9361 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1449, allocations: 0 / 0.9361 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001171/0.145, allocations: 93.5 kB / 0.9362 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.145, allocations: 4 kB / 0.9362 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.145, allocations: 0 / 0.9362 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.145, allocations: 4.031 kB / 0.9362 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.1451, allocations: 27.97 kB / 0.9362 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1451, allocations: 0 / 0.9362 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.628e-05/0.1452, allocations: 11.94 kB / 0.9362 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.1452, allocations: 11.92 kB / 0.9363 GB, free: 2.316 MB / 0.8386 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 9.213e-05/0.1453, allocations: 160.6 kB / 0.9364 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.1453, allocations: 15.84 kB / 0.9364 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.408e-05/0.1453, allocations: 20.78 kB / 0.9364 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1453, allocations: 3.984 kB / 0.9364 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1453, allocations: 0 / 0.9364 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1454, allocations: 7.984 kB / 0.9365 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003114/0.1457, allocations: 369.2 kB / 0.9368 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1457, allocations: 0 / 0.9368 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.561e-05/0.1457, allocations: 19.98 kB / 0.9368 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1457, allocations: 0 / 0.9368 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.1457, allocations: 4 kB / 0.9368 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.1457, allocations: 4 kB / 0.9368 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1457, allocations: 0 / 0.9368 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.1459, allocations: 243.7 kB / 0.9371 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.887e-06/0.1459, allocations: 7.906 kB / 0.9371 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.1459, allocations: 4 kB / 0.9371 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.021e-05/0.146, allocations: 8 kB / 0.9371 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.146, allocations: 7.984 kB / 0.9371 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.148e-06/0.146, allocations: 3.984 kB / 0.9371 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001036/0.1461, allocations: 145.4 kB / 0.9372 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1461, allocations: 4 kB / 0.9372 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002073/0.1463, allocations: 31.94 kB / 0.9373 GB, free: 1.207 MB / 0.8386 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.0001404/0.1465, allocations: 115.2 kB / 0.9374 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001424/0.1466, allocations: 59.59 kB / 0.9374 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1466, allocations: 0 / 0.9374 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.266e-05/0.1467, allocations: 27.67 kB / 0.9375 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.1469, allocations: 52.42 kB / 0.9375 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006386/0.1476, allocations: 225.9 kB / 0.9377 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.604e-05/0.1476, allocations: 67.34 kB / 0.9378 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.434e-05/0.1477, allocations: 20.66 kB / 0.9378 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.1477, allocations: 20.48 kB / 0.9378 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of SimCode: time 5.51e-07/0.1477, allocations: 3.938 kB / 0.9378 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of Templates: time 0.003637/0.1514, allocations: 2.032 MB / 0.9398 GB, free: 14.59 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.129380693892017]