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.001108/0.001108, allocations: 80.3 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.004375/0.004375, allocations: 170 kB / 24.86 MB, free: 9.289 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.9817/0.9817, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.778/1.778, allocations: 359 MB / 0.6063 GB, free: 10.91 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 2.104e-06/2.104e-06, allocations: 0 / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.111e-05/3.321e-05, allocations: 6.25 kB / 0.7883 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003421/0.003454, allocations: 1.686 MB / 0.7899 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1359/0.1393, allocations: 144.7 MB / 0.9312 GB, free: 9.379 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.1394, allocations: 4 kB / 0.9312 GB, free: 9.375 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0001464/0.1396, allocations: 19.8 kB / 0.9313 GB, free: 9.355 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0002468/0.1398, allocations: 55.58 kB / 0.9313 GB, free: 9.301 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.1401, allocations: 155.3 kB / 0.9315 GB, free: 9.148 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.1403, allocations: 115.6 kB / 0.9316 GB, free: 9.035 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.1404, allocations: 21.52 kB / 0.9316 GB, free: 9.012 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009048/0.1413, allocations: 270.6 kB / 0.9318 GB, free: 8.824 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 4.562e-05/0.1413, allocations: 31.89 kB / 0.9319 GB, free: 8.793 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.1414, allocations: 4 kB / 0.9319 GB, free: 8.789 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002697/0.1416, allocations: 179.6 kB / 0.9321 GB, free: 8.613 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 3.929e-05/0.1417, allocations: 19.92 kB / 0.9321 GB, free: 8.594 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 3.136e-05/0.1417, allocations: 27.92 kB / 0.9321 GB, free: 8.566 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0002611/0.142, allocations: 191.3 kB / 0.9323 GB, free: 8.379 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.142, allocations: 0 / 0.9323 GB, free: 8.379 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.192e-06/0.142, allocations: 0 / 0.9323 GB, free: 8.379 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.142, allocations: 0 / 0.9323 GB, free: 8.379 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0003959/0.1424, allocations: 463.8 kB / 0.9327 GB, free: 7.891 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.1424, allocations: 8.031 kB / 0.9327 GB, free: 7.883 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005131/0.1429, allocations: 111.7 kB / 0.9328 GB, free: 7.773 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.1431, allocations: 159.8 kB / 0.933 GB, free: 7.59 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.1431, allocations: 4 kB / 0.933 GB, free: 7.586 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.1431, allocations: 12 kB / 0.933 GB, free: 7.574 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.1434, allocations: 106.3 kB / 0.9331 GB, free: 7.461 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.1434, allocations: 0 / 0.9331 GB, free: 7.461 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.1434, allocations: 4 kB / 0.9331 GB, free: 7.457 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1434, allocations: 0 / 0.9331 GB, free: 7.457 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.656e-05/0.1435, allocations: 39.95 kB / 0.9331 GB, free: 7.418 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004241/0.1439, allocations: 344 kB / 0.9335 GB, free: 7.055 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.1441, allocations: 103.1 kB / 0.9336 GB, free: 6.941 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.709e-05/0.1441, allocations: 27.67 kB / 0.9336 GB, free: 6.91 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.1442, allocations: 11.98 kB / 0.9336 GB, free: 6.898 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.1442, allocations: 45.27 kB / 0.9337 GB, free: 6.844 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.1442, allocations: 0 / 0.9337 GB, free: 6.844 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8): time 0.0001816/0.1444, allocations: 93.53 kB / 0.9337 GB, free: 6.746 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.1444, allocations: 55.41 kB / 0.9338 GB, free: 6.68 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.273e-05/0.1445, allocations: 191.8 kB / 0.934 GB, free: 6.477 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.1445, allocations: 25.7 kB / 0.934 GB, free: 6.445 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.124e-05/0.1445, allocations: 150.8 kB / 0.9342 GB, free: 6.293 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.1446, allocations: 23.89 kB / 0.9342 GB, free: 6.27 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.1446, allocations: 35.34 kB / 0.9342 GB, free: 6.227 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1447, allocations: 0.4923 MB / 0.9347 GB, free: 5.723 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.879e-05/0.1447, allocations: 11.98 kB / 0.9347 GB, free: 5.711 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.279e-05/0.1448, allocations: 12 kB / 0.9347 GB, free: 5.699 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.836e-05/0.1448, allocations: 39.67 kB / 0.9347 GB, free: 5.656 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1448, allocations: 0 / 0.9347 GB, free: 5.656 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001066/0.1449, allocations: 85.48 kB / 0.9348 GB, free: 5.566 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.1449, allocations: 4 kB / 0.9348 GB, free: 5.562 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.145, allocations: 0 / 0.9348 GB, free: 5.562 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.103e-06/0.145, allocations: 4 kB / 0.9348 GB, free: 5.559 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.673e-05/0.1451, allocations: 19.98 kB / 0.9349 GB, free: 5.539 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.484e-06/0.1451, allocations: 0 / 0.9349 GB, free: 5.539 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.877e-05/0.1451, allocations: 23.88 kB / 0.9349 GB, free: 5.516 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.1451, allocations: 0 / 0.9349 GB, free: 5.516 MB / 0.8855 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.116e-05/0.1452, allocations: 156.6 kB / 0.935 GB, free: 5.352 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.1452, allocations: 19.88 kB / 0.935 GB, free: 5.332 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.629e-05/0.1452, allocations: 16.78 kB / 0.9351 GB, free: 5.32 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1453, allocations: 0 / 0.9351 GB, free: 5.32 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.1453, allocations: 0 / 0.9351 GB, free: 5.32 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1453, allocations: 0 / 0.9351 GB, free: 5.32 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003113/0.1456, allocations: 338.5 kB / 0.9354 GB, free: 4.957 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1456, allocations: 3.938 kB / 0.9354 GB, free: 4.953 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.103e-05/0.1456, allocations: 27.97 kB / 0.9354 GB, free: 4.926 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1456, allocations: 0 / 0.9354 GB, free: 4.926 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.1457, allocations: 0 / 0.9354 GB, free: 4.926 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1457, allocations: 4 kB / 0.9354 GB, free: 4.922 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1457, allocations: 0 / 0.9354 GB, free: 4.922 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.1458, allocations: 243.8 kB / 0.9357 GB, free: 4.664 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 1.157e-05/0.1458, allocations: 15.89 kB / 0.9357 GB, free: 4.648 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.1458, allocations: 3.984 kB / 0.9357 GB, free: 4.645 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.697e-05/0.1459, allocations: 4 kB / 0.9357 GB, free: 4.641 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.1459, allocations: 11.98 kB / 0.9357 GB, free: 4.629 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.1459, allocations: 4 kB / 0.9357 GB, free: 4.625 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.256e-05/0.146, allocations: 143.1 kB / 0.9358 GB, free: 4.484 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5e-08/0.146, allocations: 4 kB / 0.9358 GB, free: 4.48 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001781/0.1461, allocations: 35.94 kB / 0.9359 GB, free: 4.445 MB / 0.8855 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.0001334/0.1463, allocations: 111.2 kB / 0.936 GB, free: 4.324 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.1464, allocations: 51.58 kB / 0.936 GB, free: 4.27 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1464, allocations: 0 / 0.936 GB, free: 4.27 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.871e-05/0.1464, allocations: 31.67 kB / 0.9361 GB, free: 4.234 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.1467, allocations: 37.28 kB / 0.9361 GB, free: 4.199 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005711/0.1472, allocations: 229.7 kB / 0.9363 GB, free: 3.949 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.946e-05/0.1473, allocations: 67.34 kB / 0.9364 GB, free: 3.863 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.324e-05/0.1473, allocations: 16.67 kB / 0.9364 GB, free: 3.848 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.793e-05/0.1474, allocations: 98.17 kB / 0.9365 GB, free: 3.75 MB / 0.8855 GB Notification: Performance of SimCode: time 6.92e-07/0.1474, allocations: 0 / 0.9365 GB, free: 3.75 MB / 0.8855 GB Notification: Performance of Templates: time 0.003945/0.1514, allocations: 2.192 MB / 0.9386 GB, free: 1.598 MB / 0.8855 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.260881653986871]