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.0009587/0.0009587, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.001004/0.001004, allocations: 169.4 kB / 24.06 MB, free: 452 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.9937/0.9937, allocations: 177.1 MB / 204.5 MB, free: 5.137 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.116/2.116, allocations: 429.5 MB / 0.6743 GB, free: 3.93 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.723e-06/1.723e-06, allocations: 0.6562 kB / 0.8794 GB, free: 6.059 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.688e-05/1.86e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.00189/0.001908, allocations: 1.548 MB / 0.8809 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008943/0.002802, allocations: 0.799 MB / 0.8817 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.433e-05/0.002837, allocations: 4 kB / 0.8817 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.714e-05/0.002864, allocations: 3.938 kB / 0.8817 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.778e-05/0.002912, allocations: 17.44 kB / 0.8817 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.003263, allocations: 133.3 kB / 0.8818 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.579e-05/0.003338, allocations: 63.7 kB / 0.8819 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.01e-05/0.003418, allocations: 11.98 kB / 0.8819 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.418e-05/0.003473, allocations: 23.98 kB / 0.8819 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.005e-05/0.003513, allocations: 23.91 kB / 0.8819 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.003525, allocations: 6.5 kB / 0.8819 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.003748, allocations: 163.7 kB / 0.8821 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.003765, allocations: 7.938 kB / 0.8821 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.788e-05/0.003783, allocations: 11.98 kB / 0.8821 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.003978, allocations: 159.5 kB / 0.8823 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.00398, allocations: 0 / 0.8823 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.21e-07/0.00398, allocations: 0 / 0.8823 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.003985, allocations: 4.719 kB / 0.8823 GB, free: 3.109 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.0003376/0.004323, allocations: 417.7 kB / 0.8827 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.004352, allocations: 8.031 kB / 0.8827 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.126e-05/0.004383, allocations: 16.83 kB / 0.8827 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.48e-05/0.004468, allocations: 124.5 kB / 0.8828 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.00448, allocations: 5.719 kB / 0.8828 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.204e-06/0.004487, allocations: 384 / 0.8828 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.004598, allocations: 66.94 kB / 0.8829 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.371e-06/0.004605, allocations: 4.188 kB / 0.8829 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.004611, allocations: 384 / 0.8829 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.004616, allocations: 384 / 0.8829 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.579e-05/0.004642, allocations: 19.86 kB / 0.8829 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002285/0.00487, allocations: 248.5 kB / 0.8831 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.307e-05/0.004923, allocations: 35.05 kB / 0.8832 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.59e-05/0.004939, allocations: 11.69 kB / 0.8832 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-05/0.005028, allocations: 12.08 kB / 0.8832 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.00505, allocations: 41.33 kB / 0.8832 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.005052, allocations: 4 kB / 0.8832 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001288/0.00518, allocations: 53.58 kB / 0.8833 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.005207, allocations: 51.41 kB / 0.8833 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.464e-05/0.005272, allocations: 165.9 kB / 0.8835 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.118e-06/0.005281, allocations: 25.7 kB / 0.8835 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.206e-05/0.005323, allocations: 142.8 kB / 0.8837 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/0.00534, allocations: 11.92 kB / 0.8837 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/0.005367, allocations: 23.38 kB / 0.8837 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003546/0.005722, allocations: 492.1 kB / 0.8842 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.305e-05/0.005735, allocations: 4 kB / 0.8842 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.861e-05/0.005753, allocations: 15.92 kB / 0.8842 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.652e-05/0.00578, allocations: 15.67 kB / 0.8842 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.005782, allocations: 0 / 0.8842 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.601e-05/0.005838, allocations: 41.7 kB / 0.8842 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.005851, allocations: 11.92 kB / 0.8842 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.005854, allocations: 3.938 kB / 0.8842 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.925e-06/0.005862, allocations: 0 / 0.8842 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.558e-05/0.005918, allocations: 8 kB / 0.8843 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-06/0.00592, allocations: 0 / 0.8843 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.392e-05/0.005944, allocations: 11.94 kB / 0.8843 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.005949, allocations: 4 kB / 0.8843 GB, free: 0.8555 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.635e-05/0.006006, allocations: 160.5 kB / 0.8844 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.618e-05/0.006022, allocations: 4 kB / 0.8844 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.479e-05/0.006097, allocations: 53.94 kB / 0.8845 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.006098, allocations: 48 / 0.8845 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.006101, allocations: 3.984 kB / 0.8845 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.006104, allocations: 4 kB / 0.8845 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.473e-05/0.006199, allocations: 101.2 kB / 0.8846 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.0062, allocations: 0 / 0.8846 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.16e-05/0.006231, allocations: 12 kB / 0.8846 GB, free: 492 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.01e-07/0.006232, allocations: 4 kB / 0.8846 GB, free: 488 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.067e-06/0.006236, allocations: 4 kB / 0.8846 GB, free: 484 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.006238, allocations: 3.984 kB / 0.8846 GB, free: 480 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.006239, allocations: 3.938 kB / 0.8846 GB, free: 476 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.64e-05/0.006326, allocations: 195.8 kB / 0.8848 GB, free: 260 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.105e-06/0.006334, allocations: 7.984 kB / 0.8848 GB, free: 252 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.654e-06/0.006342, allocations: 0 / 0.8848 GB, free: 252 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.725e-05/0.006379, allocations: 4 kB / 0.8848 GB, free: 248 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.006409, allocations: 7.922 kB / 0.8848 GB, free: 240 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.006412, allocations: 0 / 0.8848 GB, free: 240 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.733e-05/0.006449, allocations: 135.2 kB / 0.8849 GB, free: 104 kB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006449, allocations: 4 kB / 0.8849 GB, free: 100 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001748/0.006624, allocations: 35.83 kB / 0.885 GB, free: 64 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.0001512/0.006775, allocations: 131.1 kB / 0.8851 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.009e-05/0.006845, allocations: 23.62 kB / 0.8851 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.92e-07/0.006846, allocations: 3.938 kB / 0.8851 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.191e-05/0.006868, allocations: 19.67 kB / 0.8852 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.007037, allocations: 4.656 kB / 0.8852 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002153/0.007253, allocations: 158 kB / 0.8853 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.877e-05/0.007281, allocations: 59.34 kB / 0.8854 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.995e-05/0.007301, allocations: 4 kB / 0.8854 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.881e-05/0.00735, allocations: 78.2 kB / 0.8854 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of SimCode: time 5.01e-07/0.007351, allocations: 3.938 kB / 0.8854 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of Templates: time 0.002888/0.01024, allocations: 1.617 MB / 0.887 GB, free: 13.91 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.346916662994772]