Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001779/0.001779, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.00196/0.00196, allocations: 200.9 kB / 22.17 MB, free: 5.211 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.681/1.681, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.858/2.858, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 67.89 kB / 1.109 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8992/0.9012, allocations: 168.7 MB / 1.274 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002762/0.904, allocations: 1.515 MB / 1.276 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.9053, allocations: 0.8192 MB / 1.276 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.296e-05/0.9054, allocations: 4 kB / 1.276 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.223e-05/0.9054, allocations: 3.938 kB / 1.276 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.61e-05/0.9054, allocations: 11.86 kB / 1.276 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004498/0.9059, allocations: 135.4 kB / 1.276 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.435e-05/0.906, allocations: 51.84 kB / 1.277 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.287e-05/0.9061, allocations: 14.66 kB / 1.277 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.029e-05/0.9061, allocations: 19.92 kB / 1.277 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.839e-05/0.9062, allocations: 23.92 kB / 1.277 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.9062, allocations: 4 kB / 1.277 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003498/0.9066, allocations: 171.7 kB / 1.277 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.184e-05/0.9066, allocations: 15.92 kB / 1.277 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.277e-05/0.9066, allocations: 19.88 kB / 1.277 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002818/0.9069, allocations: 151.5 kB / 1.277 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.9069, allocations: 4 kB / 1.277 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9069, allocations: 0 / 1.277 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.9069, allocations: 0 / 1.277 GB, free: 1.633 MB / 0.9669 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.0006315/0.9075, allocations: 398.9 kB / 1.277 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.9076, allocations: 8.031 kB / 1.277 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.392e-05/0.9076, allocations: 4.938 kB / 1.277 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.9078, allocations: 176.3 kB / 1.277 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.9078, allocations: 8.359 kB / 1.277 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.9078, allocations: 8.312 kB / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/0.9081, allocations: 74.2 kB / 1.278 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.9081, allocations: 192 / 1.278 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.9081, allocations: 7.922 kB / 1.278 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.9081, allocations: 0 / 1.278 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000324/0.9084, allocations: 71.92 kB / 1.278 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004168/0.9088, allocations: 288.7 kB / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.9091, allocations: 50.55 kB / 1.278 GB, free: 416 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.9092, allocations: 44.91 kB / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000187/0.9094, allocations: 89.09 kB / 1.278 GB, free: 260 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.9094, allocations: 30.56 kB / 1.278 GB, free: 220 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.9094, allocations: 0 / 1.278 GB, free: 220 kB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.000591/0.91, allocations: 137.5 kB / 1.278 GB, free: 76 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.9101, allocations: 55.39 kB / 1.278 GB, free: 8 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.9102, allocations: 114 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.9102, allocations: 29.7 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.957e-05/0.9103, allocations: 88.08 kB / 1.279 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.9103, allocations: 11.95 kB / 1.279 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.9103, allocations: 13.7 kB / 1.279 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.9105, allocations: 326.8 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.9107, allocations: 31.95 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.9108, allocations: 27.97 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/0.9111, allocations: 76.72 kB / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.9111, allocations: 0 / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003679/0.9115, allocations: 97.58 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.9115, allocations: 8 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.9115, allocations: 0 / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.9115, allocations: 0 / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.9116, allocations: 19.97 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.9116, allocations: 8 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.58e-05/0.9117, allocations: 7.984 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.9117, allocations: 4 kB / 1.279 GB, free: 15.11 MB / 0.9825 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 9.35e-05/0.9118, allocations: 113.8 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.9119, allocations: 7.953 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004063/0.9123, allocations: 113.5 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.9123, allocations: 0 / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.9123, allocations: 0 / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.9123, allocations: 0 / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.9125, allocations: 173.6 kB / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.9125, allocations: 4 kB / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.9126, allocations: 11.98 kB / 1.28 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.9126, allocations: 384 / 1.28 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.9126, allocations: 7.922 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.9126, allocations: 8 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.9126, allocations: 0 / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004053/0.913, allocations: 199.3 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.913, allocations: 85.06 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.9131, allocations: 0 / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.9132, allocations: 15.97 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.963e-05/0.9132, allocations: 4 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.9132, allocations: 0 / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.257e-05/0.9133, allocations: 103.6 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9133, allocations: 4 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003862/0.9137, allocations: 27.88 kB / 1.28 GB, free: 14.15 MB / 0.9825 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.0003738/0.9141, allocations: 135.5 kB / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004161/0.9145, allocations: 67.92 kB / 1.28 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.9145, allocations: 0 / 1.28 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.9147, allocations: 35.91 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.915, allocations: 25.48 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004435/0.9154, allocations: 158 kB / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.9158, allocations: 0.6807 MB / 1.281 GB, free: 13 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.522e-05/0.9159, allocations: 4 kB / 1.281 GB, free: 13 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.9159, allocations: 11.44 kB / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of SimCode: time 3.9e-07/0.9159, allocations: 0 / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of Templates: time 0.004634/0.9205, allocations: 1.386 MB / 1.282 GB, free: 11.61 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.269733396358788]