Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.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.001415/0.001415, 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.001453/0.001453, allocations: 213.9 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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 3.283/3.283, allocations: 0.5107 GB / 0.8166 GB, free: 17.9 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.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.002097/0.002097, allocations: 67.41 kB / 1.187 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3644, allocations: 181.9 MB / 1.365 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002556/0.3669, allocations: 1.29 MB / 1.366 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.3683, allocations: 0.7721 MB / 1.367 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.843e-05/0.3684, allocations: 3.938 kB / 1.367 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.932e-05/0.3684, allocations: 0 / 1.367 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.042e-05/0.3684, allocations: 7.922 kB / 1.367 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004966/0.3689, allocations: 127.4 kB / 1.367 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.214e-05/0.369, allocations: 27.92 kB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.776e-05/0.369, allocations: 4 kB / 1.367 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.031e-05/0.3691, allocations: 7.984 kB / 1.367 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.612e-05/0.3691, allocations: 11.94 kB / 1.367 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.3691, allocations: 0 / 1.367 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003319/0.3695, allocations: 163.7 kB / 1.367 GB, free: 11.13 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.787e-05/0.3695, allocations: 3.984 kB / 1.367 GB, free: 11.13 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.29e-05/0.3695, allocations: 11.94 kB / 1.367 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.3698, allocations: 127.6 kB / 1.367 GB, free: 10.99 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3698, allocations: 0 / 1.367 GB, free: 10.99 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3698, allocations: 0 / 1.367 GB, free: 10.99 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.3698, allocations: 4 kB / 1.367 GB, free: 10.99 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004601/0.3702, allocations: 286.1 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3703, allocations: 8.031 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.993e-05/0.3703, allocations: 8.891 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.3704, allocations: 110.4 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.584e-05/0.3705, allocations: 55.97 kB / 1.368 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.3706, allocations: 8.359 kB / 1.368 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.3707, allocations: 71.94 kB / 1.368 GB, free: 10.37 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3707, allocations: 3.938 kB / 1.368 GB, free: 10.37 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.3707, allocations: 4 kB / 1.368 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.3707, allocations: 0 / 1.368 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.814e-05/0.3708, allocations: 19.98 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.371, allocations: 101.3 kB / 1.368 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.3712, allocations: 50.55 kB / 1.368 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.073e-05/0.3713, allocations: 12.94 kB / 1.368 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002281/0.3715, allocations: 31.97 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.3715, allocations: 38.5 kB / 1.368 GB, free: 10.06 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3715, allocations: 0 / 1.368 GB, free: 10.06 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0002609/0.3718, allocations: 69.61 kB / 1.368 GB, free: 9.988 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.3719, allocations: 55.34 kB / 1.368 GB, free: 9.922 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.639e-05/0.3719, allocations: 97.8 kB / 1.368 GB, free: 9.816 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.372, allocations: 29.7 kB / 1.368 GB, free: 9.781 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/0.372, allocations: 80.14 kB / 1.368 GB, free: 9.699 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.372, allocations: 19.88 kB / 1.368 GB, free: 9.68 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.3721, allocations: 17.72 kB / 1.368 GB, free: 9.656 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3722, allocations: 314.8 kB / 1.369 GB, free: 9.34 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.308e-05/0.3723, allocations: 11.98 kB / 1.369 GB, free: 9.328 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.425e-05/0.3723, allocations: 8 kB / 1.369 GB, free: 9.32 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.565e-05/0.3724, allocations: 28.84 kB / 1.369 GB, free: 9.289 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3724, allocations: 4 kB / 1.369 GB, free: 9.285 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001486/0.3726, allocations: 57.64 kB / 1.369 GB, free: 9.223 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.3726, allocations: 11.92 kB / 1.369 GB, free: 9.211 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.3726, allocations: 3.984 kB / 1.369 GB, free: 9.207 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3726, allocations: 7.938 kB / 1.369 GB, free: 9.199 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.363e-05/0.3727, allocations: 8 kB / 1.369 GB, free: 9.191 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.3727, allocations: 0 / 1.369 GB, free: 9.191 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.881e-05/0.3727, allocations: 0.5156 kB / 1.369 GB, free: 9.191 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.3727, allocations: 4 kB / 1.369 GB, free: 9.188 MB / 1.061 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 (4): * Single equations (assignments): 4 * 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.315e-05/0.3728, allocations: 113.8 kB / 1.369 GB, free: 9.066 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.3728, allocations: 4 kB / 1.369 GB, free: 9.062 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.373, allocations: 69.28 kB / 1.369 GB, free: 8.98 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.373, allocations: 0 / 1.369 GB, free: 8.98 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.373, allocations: 8 kB / 1.369 GB, free: 8.973 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.373, allocations: 3.938 kB / 1.369 GB, free: 8.969 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.759e-05/0.3731, allocations: 105.3 kB / 1.369 GB, free: 8.836 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3731, allocations: 0 / 1.369 GB, free: 8.836 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.249e-05/0.3732, allocations: 11.98 kB / 1.369 GB, free: 8.824 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.3732, allocations: 0 / 1.369 GB, free: 8.824 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.3732, allocations: 0 / 1.369 GB, free: 8.824 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.3732, allocations: 3.938 kB / 1.369 GB, free: 8.82 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3732, allocations: 0 / 1.369 GB, free: 8.82 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.3734, allocations: 85.06 kB / 1.369 GB, free: 8.719 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/0.3734, allocations: 12 kB / 1.369 GB, free: 8.707 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.3734, allocations: 0 / 1.369 GB, free: 8.707 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.356e-05/0.3735, allocations: 11.92 kB / 1.369 GB, free: 8.695 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.3735, allocations: 0 / 1.369 GB, free: 8.695 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.3735, allocations: 3.938 kB / 1.369 GB, free: 8.691 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.473e-05/0.3735, allocations: 79.28 kB / 1.369 GB, free: 8.613 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3735, allocations: 7.875 kB / 1.369 GB, free: 8.605 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002368/0.3738, allocations: 39.86 kB / 1.369 GB, free: 8.566 MB / 1.061 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 (4): * Single equations (assignments): 4 * 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.0002285/0.374, allocations: 135.1 kB / 1.369 GB, free: 8.422 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001475/0.3742, allocations: 27.98 kB / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3742, allocations: 0 / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.791e-05/0.3742, allocations: 19.98 kB / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.3744, allocations: 0 / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000305/0.3747, allocations: 157 kB / 1.37 GB, free: 8.191 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.823e-05/0.3748, allocations: 63.34 kB / 1.37 GB, free: 8.109 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.558e-05/0.3748, allocations: 11.44 kB / 1.37 GB, free: 8.098 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.3748, allocations: 4 kB / 1.37 GB, free: 8.094 MB / 1.061 GB Notification: Performance of Templates: time 0.002652/0.3774, allocations: 1.035 MB / 1.371 GB, free: 7.059 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.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.311199035029858]