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.0009692/0.0009692, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.0009233/0.0009233, allocations: 165 kB / 23.82 MB, free: 0.75 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.9085/0.9085, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.787/1.787, allocations: 377.9 MB / 0.6236 GB, free: 8.543 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.322e-06/1.322e-06, allocations: 0 / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.91e-05/2.042e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001528/0.001548, allocations: 1.346 MB / 0.8128 GB, free: 384 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1192/0.1208, allocations: 143.5 MB / 0.9529 GB, free: 452 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.258e-05/0.1208, allocations: 4 kB / 0.9529 GB, free: 448 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.321e-05/0.1208, allocations: 0 / 0.9529 GB, free: 448 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.073e-05/0.1209, allocations: 11.86 kB / 0.953 GB, free: 436 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/0.1213, allocations: 119.3 kB / 0.9531 GB, free: 316 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.529e-05/0.1213, allocations: 19.81 kB / 0.9531 GB, free: 296 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.1214, allocations: 7.984 kB / 0.9531 GB, free: 288 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.195e-05/0.1214, allocations: 8 kB / 0.9531 GB, free: 280 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.892e-05/0.1215, allocations: 11.98 kB / 0.9531 GB, free: 268 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.1215, allocations: 0 / 0.9531 GB, free: 268 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000293/0.1218, allocations: 163.6 kB / 0.9533 GB, free: 104 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.083e-05/0.1218, allocations: 3.938 kB / 0.9533 GB, free: 100 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.91e-05/0.1218, allocations: 11.94 kB / 0.9533 GB, free: 88 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.122, allocations: 127.7 kB / 0.9534 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.122, allocations: 0 / 0.9534 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.243e-06/0.122, allocations: 0 / 0.9534 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.122, allocations: 0 / 0.9534 GB, free: 15.96 MB / 0.9167 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.0003018/0.1223, allocations: 384.3 kB / 0.9538 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1223, allocations: 12.03 kB / 0.9538 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003973/0.1227, allocations: 40.83 kB / 0.9538 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.284e-05/0.1228, allocations: 104.6 kB / 0.9539 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.1228, allocations: 4.375 kB / 0.9539 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.098e-06/0.1228, allocations: 384 / 0.9539 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.1229, allocations: 70.23 kB / 0.954 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.123, allocations: 4 kB / 0.954 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.123, allocations: 0 / 0.954 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.123, allocations: 0 / 0.954 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.938e-05/0.123, allocations: 4 kB / 0.954 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004884/0.1235, allocations: 255.7 kB / 0.9543 GB, free: 15 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 4.477e-05/0.1235, allocations: 35.06 kB / 0.9543 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.822e-05/0.1235, allocations: 19.67 kB / 0.9543 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 5.921e-06/0.1236, allocations: 0 / 0.9543 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.1236, allocations: 33.39 kB / 0.9543 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 6.51e-07/0.1236, allocations: 4 kB / 0.9543 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.0001156/0.1237, allocations: 41.7 kB / 0.9544 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/0.1237, allocations: 51.41 kB / 0.9544 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8e-05/0.1238, allocations: 165.9 kB / 0.9546 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 7.294e-06/0.1238, allocations: 25.7 kB / 0.9546 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.889e-05/0.1238, allocations: 126.9 kB / 0.9547 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 9.838e-06/0.1238, allocations: 15.88 kB / 0.9547 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.1239, allocations: 31.34 kB / 0.9548 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.303e-05/0.124, allocations: 496.1 kB / 0.9553 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.806e-05/0.124, allocations: 8.125 kB / 0.9553 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.547e-05/0.124, allocations: 8.172 kB / 0.9553 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.625e-05/0.124, allocations: 23.7 kB / 0.9553 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.124, allocations: 0 / 0.9553 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.774e-05/0.1241, allocations: 57.62 kB / 0.9553 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.1241, allocations: 4 kB / 0.9553 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1241, allocations: 0 / 0.9553 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.1242, allocations: 0 / 0.9553 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.448e-05/0.1242, allocations: 19.86 kB / 0.9554 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.1242, allocations: 4 kB / 0.9554 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.671e-05/0.1243, allocations: 4 kB / 0.9554 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.1243, allocations: 0 / 0.9554 GB, free: 13.74 MB / 0.9167 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.889e-05/0.1243, allocations: 156.5 kB / 0.9555 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.1244, allocations: 4 kB / 0.9555 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.992e-05/0.1244, allocations: 11.3 kB / 0.9555 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.1244, allocations: 0 / 0.9555 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1244, allocations: 4 kB / 0.9555 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.1244, allocations: 0 / 0.9555 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.289e-05/0.1245, allocations: 116.6 kB / 0.9557 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.1245, allocations: 0 / 0.9557 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.006e-05/0.1245, allocations: 4 kB / 0.9557 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.1245, allocations: 0 / 0.9557 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-06/0.1245, allocations: 0 / 0.9557 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1245, allocations: 3.984 kB / 0.9557 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1245, allocations: 4 kB / 0.9557 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.242e-05/0.1246, allocations: 187.8 kB / 0.9558 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.913e-05/0.1246, allocations: 7.953 kB / 0.9559 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.1246, allocations: 0 / 0.9559 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.04e-05/0.1246, allocations: 12.02 kB / 0.9559 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.316e-05/0.1246, allocations: 0 / 0.9559 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.1247, allocations: 4 kB / 0.9559 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.09e-05/0.1247, allocations: 127.2 kB / 0.956 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1247, allocations: 0 / 0.956 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001597/0.1249, allocations: 19.94 kB / 0.956 GB, free: 13.03 MB / 0.9167 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.0001244/0.125, allocations: 99.25 kB / 0.9561 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.984e-05/0.1251, allocations: 23.67 kB / 0.9561 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1251, allocations: 8 kB / 0.9561 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.067e-06/0.1251, allocations: 15.61 kB / 0.9561 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.1253, allocations: 11.94 kB / 0.9562 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004762/0.1257, allocations: 130.2 kB / 0.9563 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.097e-05/0.1258, allocations: 51.36 kB / 0.9563 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.309e-05/0.1258, allocations: 12.33 kB / 0.9563 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.259e-05/0.1258, allocations: 12.44 kB / 0.9564 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of SimCode: time 6.91e-07/0.1258, allocations: 8 kB / 0.9564 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of Templates: time 0.002544/0.1284, allocations: 0.8649 MB / 0.9572 GB, free: 11.74 MB / 0.9167 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.0457797781564295]