Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhi_BuiLib.TWetBul|sub.y|phi.y|wetBulXi.TWetBul|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhi_BuiLib.TWetBul|sub.y|phi.y|wetBulXi.TWetBul|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.357/2.357, allocations: 390.3 MB / 402.8 MB, free: 6.715 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001054, allocations: 180.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.686/1.686, allocations: 221.3 MB / 0.7915 GB, free: 5.418 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009083/0.0009083, allocations: 88.02 kB / 0.9317 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.516e-05/3.519e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3373, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.226/5.563, allocations: 1.732 GB / 2.951 GB, free: 103.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003524/5.564, allocations: 99.88 kB / 2.951 GB, free: 103.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1418/5.706, allocations: 75.79 MB / 3.025 GB, free: 26.47 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.482e-06/5.706, allocations: 0 / 3.025 GB, free: 26.47 MB / 1.167 GB Notification: Performance of Transformations before backend: time 1.284e-05/5.706, allocations: 4 kB / 3.025 GB, free: 26.47 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006967/5.706, allocations: 483.1 kB / 3.026 GB, free: 25.95 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/5.706, allocations: 12.03 kB / 3.026 GB, free: 25.94 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007935/5.707, allocations: 79.72 kB / 3.026 GB, free: 25.86 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/5.707, allocations: 222.9 kB / 3.026 GB, free: 25.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/5.707, allocations: 12.33 kB / 3.026 GB, free: 25.59 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.26e-05/5.707, allocations: 16 kB / 3.026 GB, free: 25.57 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003223/5.708, allocations: 241.4 kB / 3.026 GB, free: 25.31 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/5.708, allocations: 0 / 3.026 GB, free: 25.31 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/5.708, allocations: 8 kB / 3.026 GB, free: 25.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/5.708, allocations: 4 kB / 3.026 GB, free: 25.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002381/5.708, allocations: 148.7 kB / 3.026 GB, free: 25.16 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/5.709, allocations: 1.009 MB / 3.027 GB, free: 24.08 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/5.71, allocations: 146.5 kB / 3.028 GB, free: 23.93 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.866e-05/5.71, allocations: 72.83 kB / 3.028 GB, free: 23.85 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/5.71, allocations: 0 / 3.028 GB, free: 23.85 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/5.71, allocations: 34.78 kB / 3.028 GB, free: 23.81 MB / 1.167 GB Notification: Performance of pre-optimization done (n=11): time 9.42e-07/5.71, allocations: 3.938 kB / 3.028 GB, free: 23.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=11): time 0.0003079/5.71, allocations: 141.4 kB / 3.028 GB, free: 23.66 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/5.71, allocations: 63.36 kB / 3.028 GB, free: 23.59 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/5.71, allocations: 171.1 kB / 3.028 GB, free: 23.41 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/5.71, allocations: 25.7 kB / 3.028 GB, free: 23.38 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 4.713e-05/5.71, allocations: 143.5 kB / 3.028 GB, free: 23.24 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/5.71, allocations: 39.61 kB / 3.028 GB, free: 23.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.495e-05/5.71, allocations: 4 kB / 3.028 GB, free: 23.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.783e-05/5.71, allocations: 322.8 kB / 3.028 GB, free: 22.87 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/5.711, allocations: 51.98 kB / 3.029 GB, free: 22.82 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/5.711, allocations: 107.9 kB / 3.029 GB, free: 22.69 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/5.711, allocations: 64.89 kB / 3.029 GB, free: 22.63 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/5.711, allocations: 0 / 3.029 GB, free: 22.63 MB / 1.167 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003372/5.711, allocations: 209.3 kB / 3.029 GB, free: 22.42 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/5.711, allocations: 5.406 kB / 3.029 GB, free: 22.41 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/5.711, allocations: 4 kB / 3.029 GB, free: 22.41 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/5.711, allocations: 3.953 kB / 3.029 GB, free: 22.41 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003227/5.712, allocations: 63.81 kB / 3.029 GB, free: 22.34 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/5.712, allocations: 0 / 3.029 GB, free: 22.34 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002992/5.712, allocations: 51.72 kB / 3.029 GB, free: 22.29 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/5.712, allocations: 11.98 kB / 3.029 GB, free: 22.28 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.331e-05/5.712, allocations: 109 kB / 3.029 GB, free: 22.17 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.959e-05/5.712, allocations: 15.81 kB / 3.029 GB, free: 22.15 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004204/5.712, allocations: 248.2 kB / 3.029 GB, free: 21.89 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/5.712, allocations: 11.94 kB / 3.029 GB, free: 21.88 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/5.712, allocations: 0 / 3.029 GB, free: 21.88 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/5.713, allocations: 3.984 kB / 3.029 GB, free: 21.88 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002273/5.713, allocations: 273.5 kB / 3.03 GB, free: 21.56 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/5.713, allocations: 8 kB / 3.03 GB, free: 21.55 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000259/5.713, allocations: 59.89 kB / 3.03 GB, free: 21.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/5.713, allocations: 0 / 3.03 GB, free: 21.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/5.713, allocations: 3.984 kB / 3.03 GB, free: 21.49 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/5.713, allocations: 4 kB / 3.03 GB, free: 21.49 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/5.713, allocations: 7.891 kB / 3.03 GB, free: 21.48 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003015/5.713, allocations: 305.9 kB / 3.03 GB, free: 21.17 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/5.713, allocations: 104.8 kB / 3.03 GB, free: 21.05 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/5.713, allocations: 0 / 3.03 GB, free: 21.05 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/5.714, allocations: 19.98 kB / 3.03 GB, free: 21.03 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/5.714, allocations: 15.98 kB / 3.03 GB, free: 21.01 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/5.714, allocations: 11.94 kB / 3.03 GB, free: 21 MB / 1.167 GB Notification: Performance of sorting global known variables: time 8.156e-05/5.714, allocations: 144 kB / 3.03 GB, free: 20.86 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/5.714, allocations: 0 / 3.03 GB, free: 20.86 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0004625/5.714, allocations: 111.9 kB / 3.03 GB, free: 20.75 MB / 1.167 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007311/5.715, allocations: 0.6667 MB / 3.031 GB, free: 20.08 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0002838/5.715, allocations: 157.3 kB / 3.031 GB, free: 19.93 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/5.715, allocations: 3.938 kB / 3.031 GB, free: 19.93 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001209/5.716, allocations: 91.91 kB / 3.031 GB, free: 19.84 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/5.716, allocations: 41.55 kB / 3.031 GB, free: 19.79 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000462/5.716, allocations: 259.2 kB / 3.032 GB, free: 19.52 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/5.716, allocations: 0.7399 MB / 3.032 GB, free: 18.75 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002737/5.717, allocations: 50 kB / 3.032 GB, free: 18.71 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.094e-05/5.717, allocations: 31.41 kB / 3.032 GB, free: 18.68 MB / 1.167 GB Notification: Performance of SimCode: time 2.3e-07/5.717, allocations: 0 / 3.032 GB, free: 18.68 MB / 1.167 GB Notification: Performance of Templates: time 0.02007/5.737, allocations: 13.95 MB / 3.046 GB, free: 4.766 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Psychrometrics_Validation_TWetBul_TDryBulPhi.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches