Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.0009658/0.0009658, 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.0009769/0.0009769, allocations: 164.2 kB / 24.86 MB, free: 9.234 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.9336/0.9336, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.876/1.876, allocations: 377.9 MB / 0.6247 GB, free: 8.387 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.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.8128 GB, free: 324 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.349e-05, allocations: 4.188 kB / 0.8128 GB, free: 320 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001926/0.00195, allocations: 1.344 MB / 0.8141 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1396/0.1416, allocations: 140.8 MB / 0.9515 GB, free: 1.75 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.753e-05/0.1416, allocations: 0 / 0.9515 GB, free: 1.75 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.1416, allocations: 0 / 0.9515 GB, free: 1.75 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.031e-05/0.1417, allocations: 11.94 kB / 0.9515 GB, free: 1.738 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004733/0.1422, allocations: 123.3 kB / 0.9517 GB, free: 1.617 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.118e-05/0.1422, allocations: 23.81 kB / 0.9517 GB, free: 1.594 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.928e-05/0.1423, allocations: 3.984 kB / 0.9517 GB, free: 1.59 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.054e-05/0.1423, allocations: 8 kB / 0.9517 GB, free: 1.582 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.99e-05/0.1423, allocations: 3.984 kB / 0.9517 GB, free: 1.578 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.1424, allocations: 4 kB / 0.9517 GB, free: 1.574 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003432/0.1427, allocations: 167.6 kB / 0.9519 GB, free: 1.41 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.285e-05/0.1427, allocations: 11.94 kB / 0.9519 GB, free: 1.398 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.692e-05/0.1427, allocations: 4 kB / 0.9519 GB, free: 1.395 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.1429, allocations: 131.6 kB / 0.952 GB, free: 1.266 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1429, allocations: 0 / 0.952 GB, free: 1.266 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1429, allocations: 0 / 0.952 GB, free: 1.266 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.1429, allocations: 0 / 0.952 GB, free: 1.266 MB / 0.8542 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.0002828/0.1432, allocations: 376.4 kB / 0.9524 GB, free: 0.8633 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.1432, allocations: 8.031 kB / 0.9524 GB, free: 0.8555 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003794/0.1436, allocations: 52.72 kB / 0.9524 GB, free: 0.8047 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.392e-05/0.1437, allocations: 108.6 kB / 0.9525 GB, free: 0.6719 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.1437, allocations: 4.375 kB / 0.9525 GB, free: 0.668 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.717e-06/0.1437, allocations: 384 / 0.9525 GB, free: 0.668 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.1438, allocations: 58.3 kB / 0.9526 GB, free: 0.6016 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.1439, allocations: 4 kB / 0.9526 GB, free: 0.5977 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.1439, allocations: 4 kB / 0.9526 GB, free: 0.5938 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1439, allocations: 0 / 0.9526 GB, free: 0.5938 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.743e-05/0.1439, allocations: 11.94 kB / 0.9526 GB, free: 0.582 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002518/0.1441, allocations: 228.5 kB / 0.9528 GB, free: 340 kB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.653e-05/0.1442, allocations: 35 kB / 0.9529 GB, free: 292 kB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.522e-05/0.1442, allocations: 11.75 kB / 0.9529 GB, free: 276 kB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.352e-06/0.1442, allocations: 0 / 0.9529 GB, free: 276 kB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.1442, allocations: 41.38 kB / 0.9529 GB, free: 224 kB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.1442, allocations: 0 / 0.9529 GB, free: 224 kB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001142/0.1444, allocations: 41.59 kB / 0.9529 GB, free: 176 kB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.1444, allocations: 55.53 kB / 0.953 GB, free: 108 kB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.1445, allocations: 165.9 kB / 0.9532 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.1445, allocations: 25.7 kB / 0.9532 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.664e-05/0.1445, allocations: 130.9 kB / 0.9533 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.233e-06/0.1445, allocations: 7.953 kB / 0.9533 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.1446, allocations: 23.36 kB / 0.9533 GB, free: 15.72 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1447, allocations: 0.4884 MB / 0.9538 GB, free: 15.22 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.056e-05/0.1447, allocations: 4 kB / 0.9538 GB, free: 15.22 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.518e-05/0.1447, allocations: 4.172 kB / 0.9538 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.701e-05/0.1448, allocations: 23.77 kB / 0.9538 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.1448, allocations: 7.938 kB / 0.9538 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.354e-05/0.1449, allocations: 49.56 kB / 0.9539 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.1449, allocations: 7.984 kB / 0.9539 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1449, allocations: 0 / 0.9539 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.544e-06/0.1449, allocations: 4 kB / 0.9539 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.312e-05/0.145, allocations: 4 kB / 0.9539 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.145, allocations: 0 / 0.9539 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.675e-05/0.145, allocations: 15.88 kB / 0.9539 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.145, allocations: 4 kB / 0.9539 GB, free: 15.09 MB / 0.8698 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 6.924e-05/0.1451, allocations: 160.6 kB / 0.9541 GB, free: 14.92 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.962e-05/0.1451, allocations: 3.938 kB / 0.9541 GB, free: 14.92 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.905e-05/0.1451, allocations: 3.312 kB / 0.9541 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.1451, allocations: 4 kB / 0.9541 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.1451, allocations: 0 / 0.9541 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1451, allocations: 0 / 0.9541 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.367e-05/0.1452, allocations: 97.25 kB / 0.9542 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.1452, allocations: 0 / 0.9542 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.29e-05/0.1453, allocations: 3.938 kB / 0.9542 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.1453, allocations: 7.938 kB / 0.9542 GB, free: 14.78 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-06/0.1453, allocations: 8 kB / 0.9542 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.1453, allocations: 0 / 0.9542 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1453, allocations: 0 / 0.9542 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.1454, allocations: 187.9 kB / 0.9544 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.306e-05/0.1454, allocations: 4 kB / 0.9544 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.1454, allocations: 3.938 kB / 0.9544 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.5e-05/0.1454, allocations: 0 / 0.9544 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.638e-06/0.1454, allocations: 4 kB / 0.9544 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.1454, allocations: 0 / 0.9544 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.88e-05/0.1455, allocations: 131.2 kB / 0.9545 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.1455, allocations: 0 / 0.9545 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001765/0.1457, allocations: 16 kB / 0.9545 GB, free: 14.41 MB / 0.8698 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 (2): * Single equations (assignments): 2 * 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.0001637/0.1458, allocations: 115.1 kB / 0.9546 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.276e-05/0.1459, allocations: 19.67 kB / 0.9547 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1459, allocations: 0 / 0.9547 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.027e-06/0.1459, allocations: 11.69 kB / 0.9547 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.1462, allocations: 25.81 kB / 0.9547 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004309/0.1466, allocations: 146 kB / 0.9548 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.265e-05/0.1466, allocations: 51.36 kB / 0.9549 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.736e-05/0.1467, allocations: 8 kB / 0.9549 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.441e-05/0.1467, allocations: 74.19 kB / 0.955 GB, free: 13.9 MB / 0.8698 GB Notification: Performance of SimCode: time 8.12e-07/0.1467, allocations: 0 / 0.955 GB, free: 13.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.002921/0.1496, allocations: 0.904 MB / 0.9559 GB, free: 13.01 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.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.057116712909192]