Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.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.001425/0.001425, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.001632/0.001632, allocations: 169 kB / 23.02 MB, free: 1.543 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.9077/0.9077, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.039/2.039, allocations: 429.5 MB / 0.6733 GB, free: 4 MB / 0.6355 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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi.phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi.phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.8781 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.495e-05/1.67e-05, allocations: 2.812 kB / 0.8781 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001946/0.001963, allocations: 1.552 MB / 0.8797 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009554/0.002918, allocations: 0.8124 MB / 0.8805 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.371e-05/0.002962, allocations: 1.75 kB / 0.8805 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.279e-05/0.002995, allocations: 3.938 kB / 0.8805 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.142e-05/0.003046, allocations: 7.875 kB / 0.8805 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000491/0.003537, allocations: 144.1 kB / 0.8806 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.153e-05/0.003628, allocations: 56.91 kB / 0.8807 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.431e-05/0.003713, allocations: 8 kB / 0.8807 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.612e-05/0.003769, allocations: 27.91 kB / 0.8807 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.729e-05/0.003806, allocations: 21.09 kB / 0.8807 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.003824, allocations: 4 kB / 0.8807 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00029/0.004114, allocations: 171.6 kB / 0.8809 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.837e-05/0.004132, allocations: 5.031 kB / 0.8809 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.527e-05/0.004157, allocations: 19.92 kB / 0.8809 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.004358, allocations: 152.5 kB / 0.8811 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.004362, allocations: 7.938 kB / 0.8811 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.42e-07/0.004363, allocations: 0 / 0.8811 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.004366, allocations: 2.469 kB / 0.8811 GB, free: 3.348 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003762/0.004743, allocations: 416.1 kB / 0.8815 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.004778, allocations: 8.031 kB / 0.8815 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.004815, allocations: 8.891 kB / 0.8815 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.89e-05/0.004894, allocations: 116.5 kB / 0.8816 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.004904, allocations: 4.375 kB / 0.8816 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.004913, allocations: 6.438 kB / 0.8816 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.005046, allocations: 70.92 kB / 0.8817 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.005052, allocations: 192 / 0.8817 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.00506, allocations: 384 / 0.8817 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.005068, allocations: 4.375 kB / 0.8817 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.336e-05/0.005102, allocations: 12.59 kB / 0.8817 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002771/0.005379, allocations: 273.4 kB / 0.8819 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.77e-05/0.005446, allocations: 39.03 kB / 0.882 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.229e-05/0.005479, allocations: 11.69 kB / 0.882 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.005589, allocations: 20.52 kB / 0.882 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.00561, allocations: 43.17 kB / 0.8821 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.005611, allocations: 0 / 0.8821 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001434/0.005754, allocations: 49.64 kB / 0.8821 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.00578, allocations: 51.41 kB / 0.8821 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.057e-05/0.005851, allocations: 169.9 kB / 0.8823 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/0.005861, allocations: 26.83 kB / 0.8823 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.124e-05/0.005902, allocations: 142.8 kB / 0.8825 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.005918, allocations: 12 kB / 0.8825 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.629e-05/0.005944, allocations: 28.91 kB / 0.8825 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.353e-05/0.006038, allocations: 492.1 kB / 0.883 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.589e-05/0.006054, allocations: 4 kB / 0.883 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.328e-05/0.006067, allocations: 3.984 kB / 0.883 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.045e-05/0.006097, allocations: 23.69 kB / 0.883 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.006099, allocations: 0 / 0.883 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.664e-05/0.006156, allocations: 53.62 kB / 0.8831 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.006167, allocations: 4 kB / 0.8831 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.00617, allocations: 0 / 0.8831 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.006181, allocations: 0 / 0.8831 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.949e-05/0.006241, allocations: 11.94 kB / 0.8831 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.006245, allocations: 0 / 0.8831 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.499e-05/0.00627, allocations: 11.94 kB / 0.8831 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.006276, allocations: 4 kB / 0.8831 GB, free: 1.066 MB / 0.8386 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.607e-05/0.006332, allocations: 156.6 kB / 0.8832 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.006348, allocations: 11.94 kB / 0.8833 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.07e-05/0.006438, allocations: 49.67 kB / 0.8833 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.00644, allocations: 4 kB / 0.8833 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.006444, allocations: 0 / 0.8833 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.006446, allocations: 0 / 0.8833 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.739e-05/0.006534, allocations: 120.6 kB / 0.8834 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.006535, allocations: 0 / 0.8834 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.766e-05/0.006563, allocations: 11.98 kB / 0.8834 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.006564, allocations: 0 / 0.8834 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.006571, allocations: 7.875 kB / 0.8834 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.006571, allocations: 7.938 kB / 0.8834 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.006572, allocations: 0 / 0.8834 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.948e-05/0.006662, allocations: 196.3 kB / 0.8836 GB, free: 452 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-06/0.006667, allocations: 48 / 0.8836 GB, free: 452 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.006679, allocations: 11.92 kB / 0.8836 GB, free: 440 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.538e-05/0.006714, allocations: 7.984 kB / 0.8837 GB, free: 432 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.006751, allocations: 4 kB / 0.8837 GB, free: 428 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.006753, allocations: 0 / 0.8837 GB, free: 428 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.924e-05/0.006793, allocations: 139.5 kB / 0.8838 GB, free: 288 kB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006793, allocations: 0 / 0.8838 GB, free: 288 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000179/0.006972, allocations: 43.81 kB / 0.8838 GB, free: 244 kB / 0.8386 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 (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 Backend phase and start with SimCode phase: time 0.0001425/0.007114, allocations: 127.1 kB / 0.884 GB, free: 104 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.116e-05/0.007195, allocations: 23.61 kB / 0.884 GB, free: 76 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.007197, allocations: 0 / 0.884 GB, free: 76 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.164e-05/0.007218, allocations: 15.69 kB / 0.884 GB, free: 56 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.0074, allocations: 11.98 kB / 0.884 GB, free: 44 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002976/0.007698, allocations: 162 kB / 0.8842 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.3e-05/0.007731, allocations: 59.34 kB / 0.8842 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.057e-05/0.007751, allocations: 4 kB / 0.8842 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.472e-05/0.007776, allocations: 8.5 kB / 0.8842 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of SimCode: time 6.21e-07/0.007777, allocations: 0 / 0.8842 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of Templates: time 0.003261/0.01104, allocations: 1.578 MB / 0.8858 GB, free: 14.2 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.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.175803342834115]