Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001314, allocations: 111.7 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 191.7 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.681/2.681, allocations: 437.1 MB / 0.7178 GB, free: 4.5 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 71.89 kB / 1.028 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.331, allocations: 151.6 MB / 1.176 GB, free: 5.996 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.00282/0.3339, allocations: 1.494 MB / 1.177 GB, free: 4.48 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.3352, allocations: 0.8185 MB / 1.178 GB, free: 3.656 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.409e-05/0.3353, allocations: 0 / 1.178 GB, free: 3.656 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.187e-05/0.3353, allocations: 3.938 kB / 1.178 GB, free: 3.652 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.402e-05/0.3354, allocations: 3.938 kB / 1.178 GB, free: 3.648 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004792/0.3359, allocations: 135.3 kB / 1.178 GB, free: 3.516 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.792e-05/0.336, allocations: 51.84 kB / 1.178 GB, free: 3.465 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.3361, allocations: 19.92 kB / 1.178 GB, free: 3.445 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.897e-05/0.3361, allocations: 23.92 kB / 1.178 GB, free: 3.422 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.406e-05/0.3362, allocations: 23.91 kB / 1.178 GB, free: 3.398 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.3362, allocations: 4 kB / 1.178 GB, free: 3.395 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003558/0.3366, allocations: 171.7 kB / 1.179 GB, free: 3.227 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.3366, allocations: 11.94 kB / 1.179 GB, free: 3.215 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.483e-05/0.3367, allocations: 23.86 kB / 1.179 GB, free: 3.191 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.3369, allocations: 147.6 kB / 1.179 GB, free: 3.047 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.337, allocations: 0 / 1.179 GB, free: 3.047 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.483e-06/0.337, allocations: 0 / 1.179 GB, free: 3.047 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.337, allocations: 0 / 1.179 GB, free: 3.047 MB / 0.92 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.0006212/0.3376, allocations: 401.2 kB / 1.179 GB, free: 2.605 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.3376, allocations: 8.031 kB / 1.179 GB, free: 2.598 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.3377, allocations: 8.891 kB / 1.179 GB, free: 2.59 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.3378, allocations: 176.2 kB / 1.179 GB, free: 2.379 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.694e-06/0.3379, allocations: 8.375 kB / 1.179 GB, free: 2.371 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.3379, allocations: 4.375 kB / 1.179 GB, free: 2.367 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.3381, allocations: 70.22 kB / 1.179 GB, free: 2.293 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.3382, allocations: 192 / 1.179 GB, free: 2.293 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.3382, allocations: 7.938 kB / 1.179 GB, free: 2.285 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3382, allocations: 0 / 1.179 GB, free: 2.285 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003132/0.3385, allocations: 67.92 kB / 1.179 GB, free: 2.219 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.3389, allocations: 288.7 kB / 1.18 GB, free: 1.887 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.3391, allocations: 50.53 kB / 1.18 GB, free: 1.828 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.3393, allocations: 44.92 kB / 1.18 GB, free: 1.781 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001791/0.3395, allocations: 97.09 kB / 1.18 GB, free: 1.668 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.3395, allocations: 30.56 kB / 1.18 GB, free: 1.629 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3395, allocations: 7.938 kB / 1.18 GB, free: 1.621 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005894/0.3401, allocations: 129.6 kB / 1.18 GB, free: 1.488 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.3402, allocations: 51.41 kB / 1.18 GB, free: 1.426 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.3403, allocations: 117.8 kB / 1.18 GB, free: 1.301 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.3403, allocations: 25.7 kB / 1.18 GB, free: 1.27 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.573e-05/0.3404, allocations: 96.08 kB / 1.18 GB, free: 1.172 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.3404, allocations: 15.89 kB / 1.18 GB, free: 1.156 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.3404, allocations: 9.719 kB / 1.18 GB, free: 1.141 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3406, allocations: 330.8 kB / 1.181 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.3408, allocations: 31.91 kB / 1.181 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.3409, allocations: 35.95 kB / 1.181 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/0.3412, allocations: 68.73 kB / 1.181 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3412, allocations: 0 / 1.181 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003495/0.3416, allocations: 109.8 kB / 1.181 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.3416, allocations: 4 kB / 1.181 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3416, allocations: 48 / 1.181 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.3416, allocations: 3.984 kB / 1.181 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.3418, allocations: 19.98 kB / 1.181 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.3418, allocations: 0 / 1.181 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.854e-05/0.3419, allocations: 11.98 kB / 1.181 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.3419, allocations: 0 / 1.181 GB, free: 0.5195 MB / 0.92 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 8.604e-05/0.342, allocations: 117.8 kB / 1.181 GB, free: 404 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.342, allocations: 7.953 kB / 1.181 GB, free: 396 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003799/0.3424, allocations: 109.5 kB / 1.181 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.3424, allocations: 0 / 1.181 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3424, allocations: 0 / 1.181 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3424, allocations: 0 / 1.181 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.3426, allocations: 177.6 kB / 1.181 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3426, allocations: 0 / 1.181 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.327e-05/0.3427, allocations: 15.98 kB / 1.181 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3427, allocations: 0 / 1.181 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.3428, allocations: 8 kB / 1.181 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3428, allocations: 0 / 1.181 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3428, allocations: 0 / 1.181 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004119/0.3432, allocations: 195.3 kB / 1.182 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.216e-05/0.3432, allocations: 85.06 kB / 1.182 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.3433, allocations: 8 kB / 1.182 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.3434, allocations: 11.98 kB / 1.182 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.3434, allocations: 3.984 kB / 1.182 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.3435, allocations: 0 / 1.182 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.792e-05/0.3435, allocations: 95.22 kB / 1.182 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.934e-06/0.3435, allocations: 0 / 1.182 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002972/0.3438, allocations: 39.8 kB / 1.182 GB, free: 15.55 MB / 0.9356 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.0002428/0.3441, allocations: 131.1 kB / 1.182 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003633/0.3445, allocations: 63.92 kB / 1.182 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.3445, allocations: 4 kB / 1.182 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.3446, allocations: 39.89 kB / 1.182 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.345, allocations: 19.94 kB / 1.182 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003583/0.3453, allocations: 184.6 kB / 1.182 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.3456, allocations: 0.6846 MB / 1.183 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.425e-05/0.3457, allocations: 11.44 kB / 1.183 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of SimCode: time 3.41e-07/0.3457, allocations: 0 / 1.183 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of Templates: time 0.003106/0.3488, allocations: 1.215 MB / 1.184 GB, free: 13.16 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.457984626060352]