Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi_BuiLib.TWetBul|wetBulPhi.TWetBul|phi.y|add.y|wetBulXi.TWetBul|add1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi") translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi_BuiLib.TWetBul|wetBulPhi.TWetBul|phi.y|add.y|wetBulXi.TWetBul|add1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.417/1.417, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 183.5 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008305/0.0008306, allocations: 86.38 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.0003502, allocations: 14.5 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2414, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.416/5.657, allocations: 2.192 GB / 3.092 GB, free: 29.79 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/5.658, allocations: 83.11 kB / 3.092 GB, free: 29.71 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.5971/6.255, allocations: 77.17 MB / 3.167 GB, free: 314 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.535e-06/6.255, allocations: 4 kB / 3.167 GB, free: 314 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.701e-05/6.255, allocations: 3.812 kB / 3.167 GB, free: 314 MB / 0.8855 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.000926/6.256, allocations: 498.2 kB / 3.168 GB, free: 313.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/6.256, allocations: 15.78 kB / 3.168 GB, free: 313.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008626/6.257, allocations: 78.86 kB / 3.168 GB, free: 313.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/6.257, allocations: 232.4 kB / 3.168 GB, free: 313.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/6.257, allocations: 11.77 kB / 3.168 GB, free: 313.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.514e-05/6.257, allocations: 23.03 kB / 3.168 GB, free: 313.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000502/6.258, allocations: 254 kB / 3.168 GB, free: 313 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/6.258, allocations: 7.938 kB / 3.168 GB, free: 313 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.562e-05/6.258, allocations: 4 kB / 3.168 GB, free: 313 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/6.258, allocations: 3.812 kB / 3.168 GB, free: 313 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004993/6.258, allocations: 202.8 kB / 3.169 GB, free: 312.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/6.26, allocations: 1.026 MB / 3.17 GB, free: 312 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/6.26, allocations: 187.9 kB / 3.17 GB, free: 311.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/6.26, allocations: 0 / 3.17 GB, free: 311.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/6.26, allocations: 38.72 kB / 3.17 GB, free: 311.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/6.26, allocations: 3.938 kB / 3.17 GB, free: 311.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.0006713/6.261, allocations: 249.7 kB / 3.17 GB, free: 311.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/6.261, allocations: 55.38 kB / 3.17 GB, free: 311.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/6.261, allocations: 195.4 kB / 3.17 GB, free: 311.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/6.261, allocations: 25.7 kB / 3.17 GB, free: 311.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/6.261, allocations: 139.3 kB / 3.171 GB, free: 311.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/6.261, allocations: 39.39 kB / 3.171 GB, free: 311.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.48e-05/6.261, allocations: 0 / 3.171 GB, free: 311.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.941e-05/6.261, allocations: 326.5 kB / 3.171 GB, free: 311 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/6.262, allocations: 81.19 kB / 3.171 GB, free: 310.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/6.262, allocations: 142.7 kB / 3.171 GB, free: 310.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/6.262, allocations: 91.58 kB / 3.171 GB, free: 310.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/6.262, allocations: 4.031 kB / 3.171 GB, free: 310.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005605/6.263, allocations: 269.5 kB / 3.171 GB, free: 310.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/6.263, allocations: 7.781 kB / 3.171 GB, free: 310.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/6.263, allocations: 0 / 3.171 GB, free: 310.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/6.263, allocations: 3.875 kB / 3.171 GB, free: 310.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/6.263, allocations: 59.03 kB / 3.171 GB, free: 310.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/6.263, allocations: 3.938 kB / 3.171 GB, free: 310.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003447/6.263, allocations: 43.3 kB / 3.172 GB, free: 310.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/6.263, allocations: 7.891 kB / 3.172 GB, free: 310.6 MB / 0.8855 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 () * Number of clocked 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 0.0001013/6.264, allocations: 137.4 kB / 3.172 GB, free: 310.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/6.264, allocations: 15.59 kB / 3.172 GB, free: 310.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006147/6.264, allocations: 300.5 kB / 3.172 GB, free: 310.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/6.264, allocations: 3.969 kB / 3.172 GB, free: 310.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/6.264, allocations: 0 / 3.172 GB, free: 310.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/6.264, allocations: 0 / 3.172 GB, free: 310.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/6.265, allocations: 299.5 kB / 3.172 GB, free: 310 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/6.265, allocations: 0 / 3.172 GB, free: 310 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002815/6.265, allocations: 51.25 kB / 3.172 GB, free: 309.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.85e-06/6.265, allocations: 3.812 kB / 3.172 GB, free: 309.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/6.265, allocations: 7.984 kB / 3.172 GB, free: 309.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/6.265, allocations: 0 / 3.172 GB, free: 309.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/6.265, allocations: 3.906 kB / 3.172 GB, free: 309.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005027/6.265, allocations: 352.2 kB / 3.173 GB, free: 309.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.088e-05/6.265, allocations: 108.6 kB / 3.173 GB, free: 309.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.355e-05/6.266, allocations: 4 kB / 3.173 GB, free: 309.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/6.266, allocations: 23.7 kB / 3.173 GB, free: 309.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/6.266, allocations: 15.84 kB / 3.173 GB, free: 309.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/6.266, allocations: 7.75 kB / 3.173 GB, free: 309.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001323/6.266, allocations: 146.6 kB / 3.173 GB, free: 309.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/6.266, allocations: 0 / 3.173 GB, free: 309.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000505/6.267, allocations: 103.1 kB / 3.173 GB, free: 309.4 MB / 0.8855 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 (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.00101/6.268, allocations: 0.6712 MB / 3.174 GB, free: 309.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005914/6.268, allocations: 212.6 kB / 3.174 GB, free: 309 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/6.268, allocations: 320 / 3.174 GB, free: 309 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002264/6.268, allocations: 122.2 kB / 3.174 GB, free: 308.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/6.269, allocations: 40 kB / 3.174 GB, free: 308.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007421/6.27, allocations: 448.3 kB / 3.174 GB, free: 308.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001641/6.27, allocations: 0.735 MB / 3.175 GB, free: 307.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003056/6.27, allocations: 52.8 kB / 3.175 GB, free: 307.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.512e-05/6.27, allocations: 39.03 kB / 3.175 GB, free: 307.8 MB / 0.8855 GB Notification: Performance of SimCode: time 3e-07/6.27, allocations: 0 / 3.175 GB, free: 307.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.01515/6.285, allocations: 11.96 MB / 3.187 GB, free: 296.6 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_TWetBul_TDryBulPhi.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches