Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00102/0.00102, allocations: 85.27 kB / 19.87 MB, free: 4.617 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.001364/0.001364, allocations: 165 kB / 23.27 MB, free: 1.223 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.9353/0.9353, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.3/2.3, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.8897 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.537e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002065/0.002091, allocations: 1.348 MB / 0.8911 GB, free: 8.406 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1439/0.1459, allocations: 140.7 MB / 1.029 GB, free: 11.13 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.828e-05/0.146, allocations: 0 / 1.029 GB, free: 11.13 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 2.155e-05/0.146, allocations: 4 kB / 1.029 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 5.205e-05/0.1461, allocations: 11.91 kB / 1.029 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004069/0.1465, allocations: 123.3 kB / 1.029 GB, free: 10.99 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 5.959e-05/0.1465, allocations: 19.81 kB / 1.029 GB, free: 10.97 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.552e-05/0.1466, allocations: 0 / 1.029 GB, free: 10.97 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.285e-05/0.1466, allocations: 15.98 kB / 1.029 GB, free: 10.96 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.446e-05/0.1466, allocations: 4 kB / 1.029 GB, free: 10.95 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.1467, allocations: 0 / 1.029 GB, free: 10.95 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003031/0.147, allocations: 167.6 kB / 1.029 GB, free: 10.79 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 1.101e-05/0.147, allocations: 3.984 kB / 1.029 GB, free: 10.79 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 1.487e-05/0.147, allocations: 7.938 kB / 1.029 GB, free: 10.78 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.1472, allocations: 131.6 kB / 1.029 GB, free: 10.65 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1472, allocations: 0 / 1.029 GB, free: 10.65 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1472, allocations: 0 / 1.029 GB, free: 10.65 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.1472, allocations: 0 / 1.029 GB, free: 10.65 MB / 0.9948 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.0002447/0.1474, allocations: 380 kB / 1.029 GB, free: 10.24 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.1474, allocations: 8.625 kB / 1.029 GB, free: 10.23 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003489/0.1478, allocations: 52.78 kB / 1.029 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.19e-05/0.1479, allocations: 116.6 kB / 1.03 GB, free: 10.04 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.1479, allocations: 384 / 1.03 GB, free: 10.04 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.183e-06/0.1479, allocations: 384 / 1.03 GB, free: 10.04 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.894e-05/0.148, allocations: 62.25 kB / 1.03 GB, free: 9.973 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.129e-06/0.148, allocations: 0 / 1.03 GB, free: 9.973 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.148, allocations: 0 / 1.03 GB, free: 9.973 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.148, allocations: 4 kB / 1.03 GB, free: 9.969 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.348e-05/0.148, allocations: 11.97 kB / 1.03 GB, free: 9.957 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002086/0.1482, allocations: 228.4 kB / 1.03 GB, free: 9.707 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.829e-05/0.1483, allocations: 39.03 kB / 1.03 GB, free: 9.656 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.166e-05/0.1483, allocations: 7.688 kB / 1.03 GB, free: 9.645 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.464e-06/0.1483, allocations: 8 kB / 1.03 GB, free: 9.637 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.1483, allocations: 33.39 kB / 1.03 GB, free: 9.594 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.1483, allocations: 0 / 1.03 GB, free: 9.594 MB / 0.9948 GB Notification: Performance of matching and sorting (n=2): time 9.601e-05/0.1484, allocations: 45.69 kB / 1.03 GB, free: 9.543 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/0.1484, allocations: 51.41 kB / 1.03 GB, free: 9.48 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.183e-05/0.1485, allocations: 169.9 kB / 1.03 GB, free: 9.297 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.862e-06/0.1485, allocations: 29.7 kB / 1.03 GB, free: 9.262 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 4.686e-05/0.1485, allocations: 126.9 kB / 1.03 GB, free: 9.133 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 9.128e-06/0.1486, allocations: 7.891 kB / 1.03 GB, free: 9.125 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.1486, allocations: 31.34 kB / 1.03 GB, free: 9.086 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.765e-05/0.1487, allocations: 496.1 kB / 1.031 GB, free: 8.59 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.663e-05/0.1487, allocations: 3.984 kB / 1.031 GB, free: 8.586 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.312e-05/0.1487, allocations: 12.06 kB / 1.031 GB, free: 8.574 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.851e-05/0.1487, allocations: 11.69 kB / 1.031 GB, free: 8.559 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1487, allocations: 0 / 1.031 GB, free: 8.559 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.116e-05/0.1488, allocations: 53.61 kB / 1.031 GB, free: 8.5 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.1488, allocations: 8 kB / 1.031 GB, free: 8.492 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1488, allocations: 0 / 1.031 GB, free: 8.492 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.236e-06/0.1488, allocations: 0 / 1.031 GB, free: 8.492 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.751e-05/0.1489, allocations: 7.984 kB / 1.031 GB, free: 8.484 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-06/0.1489, allocations: 4 kB / 1.031 GB, free: 8.48 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.714e-05/0.149, allocations: 11.94 kB / 1.031 GB, free: 8.469 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.149, allocations: 3.938 kB / 1.031 GB, free: 8.465 MB / 0.9948 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 5.706e-05/0.149, allocations: 156.6 kB / 1.031 GB, free: 8.301 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.659e-05/0.149, allocations: 11.89 kB / 1.031 GB, free: 8.289 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.112e-05/0.1491, allocations: 7.312 kB / 1.031 GB, free: 8.277 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.1491, allocations: 0 / 1.031 GB, free: 8.277 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.1491, allocations: 0 / 1.031 GB, free: 8.277 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1491, allocations: 0 / 1.031 GB, free: 8.277 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.033e-05/0.1491, allocations: 97.25 kB / 1.031 GB, free: 8.156 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1491, allocations: 0 / 1.031 GB, free: 8.156 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.117e-06/0.1491, allocations: 8 kB / 1.031 GB, free: 8.148 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1492, allocations: 7.922 kB / 1.031 GB, free: 8.141 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-06/0.1492, allocations: 0 / 1.031 GB, free: 8.141 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.1492, allocations: 0 / 1.031 GB, free: 8.141 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1492, allocations: 4 kB / 1.031 GB, free: 8.137 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.434e-05/0.1492, allocations: 191.9 kB / 1.031 GB, free: 7.93 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.26e-05/0.1493, allocations: 4.328 kB / 1.031 GB, free: 7.926 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.1493, allocations: 7.922 kB / 1.031 GB, free: 7.918 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.891e-05/0.1493, allocations: 4 kB / 1.031 GB, free: 7.914 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.087e-05/0.1493, allocations: 0 / 1.031 GB, free: 7.914 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.1493, allocations: 4.031 kB / 1.031 GB, free: 7.91 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 4.82e-05/0.1494, allocations: 135.2 kB / 1.032 GB, free: 7.777 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.1494, allocations: 0 / 1.032 GB, free: 7.777 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001673/0.1495, allocations: 15.94 kB / 1.032 GB, free: 7.762 MB / 0.9948 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.0001416/0.1497, allocations: 107.2 kB / 1.032 GB, free: 7.648 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 6.653e-05/0.1497, allocations: 15.69 kB / 1.032 GB, free: 7.629 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1497, allocations: 0 / 1.032 GB, free: 7.629 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 1.53e-05/0.1498, allocations: 27.61 kB / 1.032 GB, free: 7.598 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.1499, allocations: 8 kB / 1.032 GB, free: 7.59 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004041/0.1503, allocations: 138.3 kB / 1.032 GB, free: 7.426 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.867e-05/0.1504, allocations: 55.34 kB / 1.032 GB, free: 7.352 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 3.539e-05/0.1504, allocations: 8.062 kB / 1.032 GB, free: 7.344 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.695e-05/0.1505, allocations: 70.2 kB / 1.032 GB, free: 7.273 MB / 0.9948 GB Notification: Performance of SimCode: time 5.91e-07/0.1505, allocations: 0 / 1.032 GB, free: 7.273 MB / 0.9948 GB Notification: Performance of Templates: time 0.002204/0.1527, allocations: 0.9054 MB / 1.033 GB, free: 6.379 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.398323452100158]