Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 91.14 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007706/0.007706, allocations: 174 kB / 16.27 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.927/2.927, allocations: 462.6 MB / 0.7364 GB, free: 268 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003665/0.0003666, allocations: 18.06 kB / 0.9028 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3216, allocations: 159.6 MB / 1.059 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001942/0.3236, allocations: 1.213 MB / 1.06 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001416/0.325, allocations: 0.8218 MB / 1.061 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.425e-05/0.3251, allocations: 4 kB / 1.061 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.325e-05/0.3251, allocations: 0 / 1.061 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.491e-05/0.3252, allocations: 11.91 kB / 1.061 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005205/0.3258, allocations: 111.5 kB / 1.061 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.722e-05/0.3259, allocations: 47.84 kB / 1.061 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.326, allocations: 12 kB / 1.061 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.031e-05/0.3261, allocations: 23.91 kB / 1.061 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.165e-05/0.3261, allocations: 23.86 kB / 1.061 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.3261, allocations: 0 / 1.061 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003748/0.3265, allocations: 175.7 kB / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.3266, allocations: 3.984 kB / 1.061 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.319e-05/0.3266, allocations: 49.56 kB / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002999/0.3269, allocations: 151.8 kB / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3269, allocations: 0 / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.233e-06/0.327, allocations: 4 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.327, allocations: 0 / 1.061 GB, free: 2.824 MB / 0.8106 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.0005948/0.3276, allocations: 395.2 kB / 1.062 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.3276, allocations: 8.031 kB / 1.062 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.223e-05/0.3277, allocations: 8.922 kB / 1.062 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.3279, allocations: 176.3 kB / 1.062 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.3279, allocations: 4.375 kB / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.3279, allocations: 384 / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00033/0.3283, allocations: 86.16 kB / 1.062 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.3283, allocations: 4.172 kB / 1.062 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.3283, allocations: 7.938 kB / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3283, allocations: 0 / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003452/0.3287, allocations: 95.92 kB / 1.062 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004397/0.3291, allocations: 276.7 kB / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.3294, allocations: 74.47 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.3296, allocations: 44.92 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001919/0.3298, allocations: 97.09 kB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.3298, allocations: 38.55 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.3298, allocations: 0 / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0006157/0.3304, allocations: 161.5 kB / 1.063 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.3305, allocations: 55.41 kB / 1.063 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.3306, allocations: 129.6 kB / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.3306, allocations: 33.58 kB / 1.063 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.926e-05/0.3307, allocations: 88.14 kB / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.3307, allocations: 7.906 kB / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/0.3307, allocations: 13.72 kB / 1.063 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3308, allocations: 322.8 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.331, allocations: 43.97 kB / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.3312, allocations: 43.95 kB / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/0.3315, allocations: 84.8 kB / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3315, allocations: 4 kB / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003598/0.3319, allocations: 125.5 kB / 1.064 GB, free: 204 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3319, allocations: 8 kB / 1.064 GB, free: 196 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3319, allocations: 0 / 1.064 GB, free: 196 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3319, allocations: 0 / 1.064 GB, free: 196 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.3321, allocations: 23.92 kB / 1.064 GB, free: 172 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3321, allocations: 3.938 kB / 1.064 GB, free: 168 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.3322, allocations: 19.98 kB / 1.064 GB, free: 148 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.3322, allocations: 336 / 1.064 GB, free: 148 kB / 0.8106 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.411e-05/0.3323, allocations: 123.3 kB / 1.064 GB, free: 16 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.3323, allocations: 0 / 1.064 GB, free: 16 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004275/0.3328, allocations: 133.7 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.3328, allocations: 0 / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3328, allocations: 0 / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3328, allocations: 0 / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.333, allocations: 185.5 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.333, allocations: 4 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.3331, allocations: 23.92 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3331, allocations: 0 / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.3331, allocations: 0 / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3331, allocations: 0 / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3331, allocations: 0 / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004029/0.3335, allocations: 219.4 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.014e-05/0.3336, allocations: 92.95 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.3336, allocations: 0 / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.3337, allocations: 15.98 kB / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.3338, allocations: 3.984 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.3338, allocations: 4 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.352e-05/0.3339, allocations: 95.2 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3339, allocations: 4 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002775/0.3342, allocations: 36 kB / 1.064 GB, free: 15.12 MB / 0.8262 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.0002342/0.3344, allocations: 127.2 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000372/0.3348, allocations: 91.86 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3348, allocations: 4 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.335, allocations: 43.97 kB / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.3353, allocations: 15.92 kB / 1.065 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/0.3357, allocations: 162.5 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.3359, allocations: 0.6887 MB / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.793e-05/0.336, allocations: 4 kB / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/0.336, allocations: 7.438 kB / 1.066 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.336, allocations: 4 kB / 1.066 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of Templates: time 0.004018/0.34, allocations: 1.222 MB / 1.067 GB, free: 12.7 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches