Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.009042/0.009042, allocations: 101 kB / 15.73 MB, free: 6.051 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.001938/0.001938, allocations: 208.5 kB / 16.68 MB, free: 5.969 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.511/1.511, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.507/2.507, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 62.44 kB / 0.9508 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3405, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.001873/0.3424, allocations: 0.7551 MB / 1.089 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.3435, allocations: 0.8783 MB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.728e-05/0.3436, allocations: 0 / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.353e-05/0.3436, allocations: 7.875 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.3438, allocations: 23.84 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.344, allocations: 35.89 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.3441, allocations: 99.69 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.3443, allocations: 15.98 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.805e-05/0.3444, allocations: 43.91 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.3445, allocations: 43.81 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.3445, allocations: 8 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.776e-05/0.3445, allocations: 15.94 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.939e-05/0.3446, allocations: 15.98 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.52e-05/0.3446, allocations: 35.8 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.3448, allocations: 99.53 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3448, allocations: 4 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3448, allocations: 3.938 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.3448, allocations: 0 / 1.09 GB, free: 15.42 MB / 0.8575 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.0007572/0.3456, allocations: 407.2 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.3456, allocations: 8.031 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.3456, allocations: 12.83 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.3458, allocations: 176.2 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.3458, allocations: 8.375 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.3458, allocations: 4.375 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003221/0.3462, allocations: 127.8 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.3462, allocations: 4.188 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.3462, allocations: 3.938 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3462, allocations: 0 / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003154/0.3465, allocations: 95.91 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005683/0.3471, allocations: 440.7 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003788/0.3475, allocations: 117.1 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.3477, allocations: 61.73 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.3477, allocations: 3.984 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.3477, allocations: 34.56 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.3477, allocations: 0 / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0006017/0.3483, allocations: 177.4 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.3484, allocations: 77.11 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.3485, allocations: 139.1 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.3486, allocations: 29.64 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.176e-05/0.3486, allocations: 108 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.3487, allocations: 19.72 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.057e-05/0.3487, allocations: 21.7 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.3489, allocations: 326.8 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.349, allocations: 43.95 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.3492, allocations: 61.61 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003012/0.3495, allocations: 109.6 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3495, allocations: 0 / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003893/0.3499, allocations: 145.4 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.35, allocations: 9.562 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.35, allocations: 0 / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.35, allocations: 0 / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.3501, allocations: 27.97 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.3502, allocations: 0 / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.3503, allocations: 23.86 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.3503, allocations: 3.984 kB / 1.093 GB, free: 12.39 MB / 0.8575 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 8.838e-05/0.3504, allocations: 117.8 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.3504, allocations: 11.84 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004757/0.3509, allocations: 177.7 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3509, allocations: 3.938 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.351, allocations: 4 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.351, allocations: 11.86 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/0.3512, allocations: 209.6 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3513, allocations: 0 / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.3514, allocations: 28.5 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3514, allocations: 0 / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.3514, allocations: 3.984 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3514, allocations: 4 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3515, allocations: 8 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004215/0.3519, allocations: 330.4 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.042e-05/0.352, allocations: 96.98 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.352, allocations: 4 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.3522, allocations: 23.97 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.3522, allocations: 7.938 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.3522, allocations: 3.984 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.462e-05/0.3523, allocations: 112.4 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3523, allocations: 0 / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002633/0.3526, allocations: 20 kB / 1.094 GB, free: 11.13 MB / 0.8575 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.0001275/0.3527, allocations: 103.2 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000378/0.3531, allocations: 112 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3531, allocations: 0 / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001815/0.3533, allocations: 67.89 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004762/0.3538, allocations: 39.28 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004795/0.3543, allocations: 227.4 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.3546, allocations: 0.7002 MB / 1.095 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.716e-05/0.3546, allocations: 16.5 kB / 1.095 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.512e-05/0.3547, allocations: 23.42 kB / 1.095 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.3547, allocations: 0 / 1.095 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of Templates: time 0.004669/0.3594, allocations: 1.802 MB / 1.097 GB, free: 8.012 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches