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.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.00137/0.00137, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001709/0.001709, allocations: 217.3 kB / 22.99 MB, free: 4.945 MB / 14.72 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 1.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.749/2.749, allocations: 476 MB / 0.7707 GB, free: 4.785 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 67.7 kB / 1.118 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3397, allocations: 170 MB / 1.284 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.00294/0.3427, allocations: 1.504 MB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.3441, allocations: 0.7417 MB / 1.286 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.24e-05/0.3442, allocations: 0 / 1.286 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.627e-05/0.3442, allocations: 3.938 kB / 1.286 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.4e-05/0.3443, allocations: 7.938 kB / 1.286 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005094/0.3448, allocations: 139.4 kB / 1.286 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.3449, allocations: 55.78 kB / 1.286 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.345, allocations: 15.88 kB / 1.286 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.355e-05/0.3451, allocations: 19.92 kB / 1.286 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.39e-05/0.3451, allocations: 19.92 kB / 1.286 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.3451, allocations: 4 kB / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003552/0.3455, allocations: 171.7 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.165e-05/0.3455, allocations: 7.938 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.746e-05/0.3455, allocations: 27.92 kB / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003035/0.3458, allocations: 147.5 kB / 1.287 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3458, allocations: 0 / 1.287 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.627e-06/0.3458, allocations: 4 kB / 1.287 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.3459, allocations: 0 / 1.287 GB, free: 9.105 MB / 0.9825 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.0006153/0.3465, allocations: 321.8 kB / 1.287 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.3465, allocations: 12.03 kB / 1.287 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/0.3466, allocations: 4.891 kB / 1.287 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.3467, allocations: 114.5 kB / 1.287 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.3467, allocations: 12.38 kB / 1.287 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.3467, allocations: 384 / 1.287 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.347, allocations: 74.2 kB / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.347, allocations: 192 / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.347, allocations: 3.938 kB / 1.287 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.347, allocations: 4 kB / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003067/0.3473, allocations: 67.92 kB / 1.287 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003947/0.3477, allocations: 228.4 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.348, allocations: 62.42 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.3481, allocations: 36.91 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001519/0.3483, allocations: 15.98 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.3483, allocations: 34.56 kB / 1.288 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.3483, allocations: 0 / 1.288 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005979/0.3489, allocations: 129.7 kB / 1.288 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.349, allocations: 59.39 kB / 1.288 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.3491, allocations: 113.8 kB / 1.288 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.3491, allocations: 25.7 kB / 1.288 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.732e-05/0.3491, allocations: 92.14 kB / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.3492, allocations: 7.906 kB / 1.288 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.3492, allocations: 13.72 kB / 1.288 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.3494, allocations: 322.8 kB / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.3495, allocations: 27.97 kB / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.3497, allocations: 35.94 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.3499, allocations: 76.72 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.3499, allocations: 3.938 kB / 1.288 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003365/0.3503, allocations: 93.62 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.3503, allocations: 8 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3503, allocations: 0 / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.3503, allocations: 4 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.3504, allocations: 15.98 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3505, allocations: 0 / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.083e-05/0.3505, allocations: 11.97 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.3505, allocations: 4 kB / 1.289 GB, free: 6.934 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.591e-05/0.3506, allocations: 113.8 kB / 1.289 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.3507, allocations: 7.953 kB / 1.289 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003865/0.3511, allocations: 113.5 kB / 1.289 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.3511, allocations: 0 / 1.289 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3511, allocations: 0 / 1.289 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.3511, allocations: 0 / 1.289 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.3512, allocations: 113.2 kB / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3512, allocations: 0 / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.777e-05/0.3513, allocations: 19.97 kB / 1.289 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3513, allocations: 0 / 1.289 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.3513, allocations: 11.94 kB / 1.289 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3513, allocations: 0 / 1.289 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3513, allocations: 4 kB / 1.289 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004129/0.3518, allocations: 195.3 kB / 1.289 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.684e-05/0.3518, allocations: 11.94 kB / 1.289 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.3518, allocations: 3.984 kB / 1.289 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.3519, allocations: 15.98 kB / 1.289 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.3519, allocations: 4 kB / 1.289 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.352, allocations: 4 kB / 1.289 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.188e-05/0.352, allocations: 95.58 kB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6.1e-08/0.352, allocations: 0 / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002956/0.3523, allocations: 31.88 kB / 1.289 GB, free: 6.137 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.0002545/0.3526, allocations: 135.2 kB / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003587/0.3529, allocations: 75.86 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3529, allocations: 0 / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.3531, allocations: 35.95 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.3534, allocations: 10.23 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003971/0.3538, allocations: 169.1 kB / 1.29 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.954e-05/0.3539, allocations: 71.34 kB / 1.29 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.3539, allocations: 7.438 kB / 1.29 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of SimCode: time 6.71e-07/0.3539, allocations: 0 / 1.29 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of Templates: time 0.003275/0.3572, allocations: 1.248 MB / 1.291 GB, free: 4.344 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 -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/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: 11.262936374172568]