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.001328/0.001328, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001456/0.001456, allocations: 215.8 kB / 23.01 MB, free: 4.602 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.81/2.81, allocations: 476.8 MB / 0.7714 GB, free: 4.25 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.002081/0.002081, allocations: 66.02 kB / 1.119 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3491, allocations: 170 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.00283/0.352, allocations: 1.536 MB / 1.286 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001388/0.3533, allocations: 0.8156 MB / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.817e-05/0.3534, allocations: 0 / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.861e-05/0.3534, allocations: 3.938 kB / 1.287 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.746e-05/0.3535, allocations: 11.92 kB / 1.287 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004645/0.354, allocations: 127.4 kB / 1.287 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.654e-05/0.3541, allocations: 51.86 kB / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.3542, allocations: 23.91 kB / 1.287 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.337e-05/0.3542, allocations: 15.98 kB / 1.287 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.663e-05/0.3543, allocations: 27.86 kB / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.3543, allocations: 4 kB / 1.287 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003679/0.3547, allocations: 179.7 kB / 1.287 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.3547, allocations: 7.984 kB / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.652e-05/0.3547, allocations: 19.88 kB / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003415/0.3551, allocations: 155.5 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3551, allocations: 3.938 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3551, allocations: 0 / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.3551, allocations: 0 / 1.287 GB, free: 8.254 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.000586/0.3557, allocations: 337.8 kB / 1.288 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.3557, allocations: 8.031 kB / 1.288 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.532e-05/0.3558, allocations: 8.891 kB / 1.288 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.3559, allocations: 106.5 kB / 1.288 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.3559, allocations: 4.375 kB / 1.288 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.3559, allocations: 4.375 kB / 1.288 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/0.3562, allocations: 78.2 kB / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.3562, allocations: 192 / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.3562, allocations: 7.875 kB / 1.288 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3562, allocations: 0 / 1.288 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002897/0.3565, allocations: 67.86 kB / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004331/0.3569, allocations: 263.8 kB / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.3571, allocations: 54.53 kB / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.3573, allocations: 40.86 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001583/0.3574, allocations: 11.98 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.3575, allocations: 34.56 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3575, allocations: 0 / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005539/0.358, allocations: 133.5 kB / 1.289 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.3581, allocations: 51.41 kB / 1.289 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.3582, allocations: 121.8 kB / 1.289 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.3582, allocations: 25.7 kB / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.827e-05/0.3583, allocations: 88.12 kB / 1.289 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.381e-05/0.3583, allocations: 15.91 kB / 1.289 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.3583, allocations: 9.719 kB / 1.289 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.3585, allocations: 326.8 kB / 1.289 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.3587, allocations: 31.91 kB / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.3588, allocations: 39.95 kB / 1.289 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.3591, allocations: 61.08 kB / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3591, allocations: 0 / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003331/0.3594, allocations: 109.6 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.3594, allocations: 4 kB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.3594, allocations: 0 / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.3594, allocations: 0 / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.3595, allocations: 15.98 kB / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3595, allocations: 0 / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.826e-05/0.3596, allocations: 15.92 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.3596, allocations: 11.94 kB / 1.289 GB, free: 6.02 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 8.722e-05/0.3597, allocations: 117.8 kB / 1.29 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.3597, allocations: 7.953 kB / 1.29 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00037/0.3601, allocations: 105.6 kB / 1.29 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.3601, allocations: 0 / 1.29 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3601, allocations: 3.938 kB / 1.29 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3601, allocations: 4 kB / 1.29 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.3603, allocations: 152.6 kB / 1.29 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3603, allocations: 0 / 1.29 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.591e-05/0.3604, allocations: 11.98 kB / 1.29 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.3604, allocations: 4 kB / 1.29 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.3604, allocations: 0 / 1.29 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3604, allocations: 0 / 1.29 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3604, allocations: 3.938 kB / 1.29 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003979/0.3608, allocations: 207.4 kB / 1.29 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.291e-05/0.3608, allocations: 4 kB / 1.29 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.3609, allocations: 0 / 1.29 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.361, allocations: 11.98 kB / 1.29 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/0.361, allocations: 3.984 kB / 1.29 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-06/0.361, allocations: 4 kB / 1.29 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.067e-05/0.3611, allocations: 103.6 kB / 1.29 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3611, allocations: 0 / 1.29 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000302/0.3614, allocations: 35.83 kB / 1.29 GB, free: 5.176 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.0002421/0.3616, allocations: 131.2 kB / 1.29 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003689/0.362, allocations: 75.86 kB / 1.29 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.362, allocations: 0 / 1.29 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.3622, allocations: 31.97 kB / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.3625, allocations: 19.66 kB / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004114/0.3629, allocations: 165.2 kB / 1.291 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.3633, allocations: 0.6885 MB / 1.291 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/0.3633, allocations: 11.44 kB / 1.291 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of SimCode: time 3.9e-07/0.3633, allocations: 3.938 kB / 1.291 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of Templates: time 0.003349/0.3666, allocations: 1.26 MB / 1.293 GB, free: 2.734 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.503831989015453]