Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TDryBul|wetBulPhi.phi|wetBulPhi.TWetBul|wetBulPhi1.TDryBul|wetBulPhi1.phi|wetBulPhi1.TWetBul",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi") translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TDryBul|wetBulPhi.phi|wetBulPhi.TWetBul|wetBulPhi1.TDryBul|wetBulPhi1.phi|wetBulPhi1.TWetBul",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 108.6 kB / 16.41 MB, free: 6.492 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.001694/0.001694, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.559/1.559, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.742/2.742, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002742/0.002742, allocations: 67.89 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9684/0.9711, allocations: 151.6 MB / 1.167 GB, free: 4.023 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.001987/0.9732, allocations: 0.7575 MB / 1.168 GB, free: 3.266 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.9743, allocations: 0.892 MB / 1.169 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.658e-05/0.9744, allocations: 0 / 1.169 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.793e-05/0.9745, allocations: 7.922 kB / 1.169 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.299e-05/0.9746, allocations: 15.81 kB / 1.169 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.9748, allocations: 39.94 kB / 1.169 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.9749, allocations: 99.69 kB / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.9751, allocations: 16 kB / 1.169 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.292e-05/0.9752, allocations: 51.83 kB / 1.169 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.9753, allocations: 43.83 kB / 1.169 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.407e-05/0.9753, allocations: 8 kB / 1.169 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.839e-05/0.9753, allocations: 8 kB / 1.169 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.992e-05/0.9754, allocations: 19.92 kB / 1.169 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.397e-05/0.9754, allocations: 39.78 kB / 1.169 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.9756, allocations: 88.64 kB / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.9756, allocations: 0 / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.064e-06/0.9756, allocations: 0 / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.9756, allocations: 0 / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007921/0.9764, allocations: 419 kB / 1.17 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.9765, allocations: 8.922 kB / 1.17 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.9765, allocations: 12.83 kB / 1.17 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.9767, allocations: 176.2 kB / 1.17 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.9767, allocations: 8.375 kB / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.9767, allocations: 8.375 kB / 1.17 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003364/0.9771, allocations: 119.8 kB / 1.17 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.9771, allocations: 4.188 kB / 1.17 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.9771, allocations: 7.938 kB / 1.17 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.9771, allocations: 0 / 1.17 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003497/0.9775, allocations: 103.8 kB / 1.17 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000656/0.9781, allocations: 432.8 kB / 1.171 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004323/0.9786, allocations: 121.1 kB / 1.171 GB, free: 380 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/0.9788, allocations: 57.67 kB / 1.171 GB, free: 316 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.9788, allocations: 0 / 1.171 GB, free: 316 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.9788, allocations: 42.5 kB / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.9789, allocations: 0 / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of matching and sorting (n=6): time 0.0006672/0.9795, allocations: 177.4 kB / 1.171 GB, free: 80 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.664e-05/0.9796, allocations: 77.11 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.9798, allocations: 145.8 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.9798, allocations: 25.7 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.005e-05/0.9799, allocations: 100.1 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.9799, allocations: 19.8 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.662e-05/0.98, allocations: 25.66 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.9801, allocations: 326.8 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.9803, allocations: 47.95 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.9805, allocations: 57.67 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003434/0.9809, allocations: 109.6 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.9809, allocations: 0 / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004165/0.9813, allocations: 137.6 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.9813, allocations: 8 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.9813, allocations: 3.938 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.9814, allocations: 0 / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.9815, allocations: 35.91 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.9816, allocations: 0 / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.9817, allocations: 27.86 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.9817, allocations: 0 / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 0.0001088/0.9818, allocations: 113.8 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.843e-05/0.9819, allocations: 7.953 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005577/0.9824, allocations: 193.8 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.9825, allocations: 0 / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.9825, allocations: 4 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.9825, allocations: 3.938 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003025/0.9828, allocations: 205.5 kB / 1.173 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.9828, allocations: 0 / 1.173 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.983, allocations: 31.97 kB / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.983, allocations: 4 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.983, allocations: 4 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/0.983, allocations: 11.88 kB / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.983, allocations: 0 / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005171/0.9835, allocations: 331 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.57e-05/0.9836, allocations: 93.03 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.9837, allocations: 8 kB / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.9839, allocations: 11.98 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.832e-05/0.9839, allocations: 19.91 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-06/0.9839, allocations: 4 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.429e-05/0.984, allocations: 113.7 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.984, allocations: 0 / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000283/0.9843, allocations: 24 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 11 * 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.0001338/0.9845, allocations: 107.1 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004362/0.9849, allocations: 111.9 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.9849, allocations: 4 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.9851, allocations: 67.89 kB / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000462/0.9856, allocations: 26.8 kB / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005441/0.9862, allocations: 223.2 kB / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.9865, allocations: 0.7002 MB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.857e-05/0.9866, allocations: 16.55 kB / 1.174 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.512e-05/0.9867, allocations: 11.44 kB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of SimCode: time 2.6e-07/0.9867, allocations: 0 / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of Templates: time 0.005163/0.9918, allocations: 1.809 MB / 1.176 GB, free: 10.51 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches