Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009697/0.0009697, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001447/0.001447, allocations: 185 kB / 24.09 MB, free: 416 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.9464/0.9464, allocations: 177.2 MB / 204.5 MB, free: 5.516 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.822/1.822, allocations: 359 MB / 0.6055 GB, free: 10.85 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.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.919e-05/3.066e-05, allocations: 12.78 kB / 0.7876 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002517/0.002547, allocations: 1.332 MB / 0.7889 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1404/0.1429, allocations: 140.8 MB / 0.9263 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.935e-05/0.143, allocations: 4 kB / 0.9263 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 2.24e-05/0.143, allocations: 0 / 0.9263 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 5.818e-05/0.143, allocations: 7.875 kB / 0.9263 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003877/0.1434, allocations: 127.3 kB / 0.9265 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 6.143e-05/0.1435, allocations: 19.86 kB / 0.9265 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 3.591e-05/0.1435, allocations: 0 / 0.9265 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 5.566e-05/0.1436, allocations: 15.98 kB / 0.9265 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 3.282e-05/0.1436, allocations: 7.938 kB / 0.9265 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.1436, allocations: 0 / 0.9265 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003012/0.1439, allocations: 171.6 kB / 0.9267 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 9.217e-06/0.1439, allocations: 0 / 0.9267 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 1.414e-05/0.144, allocations: 4 kB / 0.9267 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.1441, allocations: 131.6 kB / 0.9268 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1441, allocations: 4 kB / 0.9268 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of FrontEnd: time 8.52e-07/0.1441, allocations: 0 / 0.9268 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.1441, allocations: 0 / 0.9268 GB, free: 13.11 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002741/0.1444, allocations: 380.3 kB / 0.9272 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.1444, allocations: 8.031 kB / 0.9272 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003427/0.1448, allocations: 40.83 kB / 0.9272 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.475e-05/0.1449, allocations: 112.6 kB / 0.9273 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.1449, allocations: 4.375 kB / 0.9273 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-06/0.1449, allocations: 4.312 kB / 0.9273 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.958e-05/0.145, allocations: 58.31 kB / 0.9274 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.145, allocations: 3.984 kB / 0.9274 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-06/0.145, allocations: 0 / 0.9274 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.145, allocations: 0 / 0.9274 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.321e-05/0.145, allocations: 7.984 kB / 0.9274 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002228/0.1452, allocations: 240.4 kB / 0.9276 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 3.852e-05/0.1453, allocations: 38.94 kB / 0.9277 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.2e-05/0.1453, allocations: 15.69 kB / 0.9277 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.66e-06/0.1453, allocations: 0 / 0.9277 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.1453, allocations: 41.39 kB / 0.9277 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1453, allocations: 0 / 0.9277 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 9.579e-05/0.1454, allocations: 37.69 kB / 0.9278 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.1454, allocations: 51.41 kB / 0.9278 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.591e-05/0.1455, allocations: 165.9 kB / 0.928 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.676e-06/0.1455, allocations: 25.7 kB / 0.928 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.851e-05/0.1456, allocations: 138.9 kB / 0.9281 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.644e-06/0.1456, allocations: 7.891 kB / 0.9281 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.1456, allocations: 27.36 kB / 0.9282 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.1457, allocations: 496.1 kB / 0.9286 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.566e-05/0.1457, allocations: 4 kB / 0.9286 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.426e-05/0.1457, allocations: 4 kB / 0.9286 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.404e-05/0.1458, allocations: 19.66 kB / 0.9286 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1458, allocations: 0 / 0.9286 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.316e-05/0.1458, allocations: 53.58 kB / 0.9287 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.1459, allocations: 12 kB / 0.9287 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.289e-06/0.1459, allocations: 0 / 0.9287 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.921e-06/0.1459, allocations: 0 / 0.9287 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.604e-05/0.1459, allocations: 11.92 kB / 0.9287 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.1459, allocations: 0 / 0.9287 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.447e-05/0.146, allocations: 4 kB / 0.9287 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.146, allocations: 7.984 kB / 0.9287 GB, free: 10.93 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 (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.463e-05/0.146, allocations: 152.6 kB / 0.9289 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.146, allocations: 7.938 kB / 0.9289 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.177e-05/0.1461, allocations: 11.31 kB / 0.9289 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1461, allocations: 4 kB / 0.9289 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.1461, allocations: 0 / 0.9289 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1461, allocations: 0 / 0.9289 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.308e-05/0.1462, allocations: 97.25 kB / 0.929 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.6e-07/0.1462, allocations: 0 / 0.929 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.228e-06/0.1462, allocations: 4 kB / 0.929 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1462, allocations: 3.938 kB / 0.929 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-06/0.1462, allocations: 0 / 0.929 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.31e-07/0.1462, allocations: 0 / 0.929 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1462, allocations: 3.938 kB / 0.929 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.304e-05/0.1463, allocations: 195.9 kB / 0.9292 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 1.323e-05/0.1463, allocations: 3.953 kB / 0.9292 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.899e-06/0.1463, allocations: 3.938 kB / 0.9292 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.849e-05/0.1463, allocations: 4 kB / 0.9292 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.508e-06/0.1463, allocations: 336 / 0.9292 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-06/0.1463, allocations: 0 / 0.9292 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.365e-05/0.1464, allocations: 135.2 kB / 0.9293 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5e-08/0.1464, allocations: 0 / 0.9293 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001518/0.1465, allocations: 15.94 kB / 0.9293 GB, free: 10.24 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 (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.0001198/0.1467, allocations: 115.2 kB / 0.9295 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 5.675e-05/0.1467, allocations: 27.67 kB / 0.9295 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1467, allocations: 0 / 0.9295 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.726e-06/0.1467, allocations: 15.62 kB / 0.9295 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.1469, allocations: 7.984 kB / 0.9295 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003919/0.1473, allocations: 138.4 kB / 0.9296 GB, free: 9.891 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.795e-05/0.1473, allocations: 51.36 kB / 0.9297 GB, free: 9.82 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.63e-05/0.1474, allocations: 11.94 kB / 0.9297 GB, free: 9.809 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.591e-05/0.1474, allocations: 78.19 kB / 0.9298 GB, free: 9.73 MB / 0.8855 GB Notification: Performance of SimCode: time 5.81e-07/0.1474, allocations: 0 / 0.9298 GB, free: 9.73 MB / 0.8855 GB Notification: Performance of Templates: time 0.002249/0.1497, allocations: 0.8798 MB / 0.9306 GB, free: 8.859 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 4.973217965569347]