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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001636/0.001636, allocations: 106.2 kB / 16.35 MB, free: 5.824 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.001826/0.001826, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.336/2.336, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002179/0.00218, allocations: 61.83 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3601, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.002249/0.3623, allocations: 0.7527 MB / 0.9519 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.3635, allocations: 0.8801 MB / 0.9527 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.829e-05/0.3635, allocations: 0 / 0.9527 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.631e-05/0.3636, allocations: 15.8 kB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.256e-05/0.3637, allocations: 11.88 kB / 0.9528 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.3639, allocations: 39.88 kB / 0.9528 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000135/0.364, allocations: 99.75 kB / 0.9529 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.3641, allocations: 16 kB / 0.9529 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.3643, allocations: 43.83 kB / 0.9529 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.3644, allocations: 47.83 kB / 0.953 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.45e-05/0.3644, allocations: 11.94 kB / 0.953 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.918e-05/0.3644, allocations: 11.94 kB / 0.953 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.929e-05/0.3645, allocations: 23.91 kB / 0.953 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.519e-05/0.3645, allocations: 43.78 kB / 0.9531 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.3647, allocations: 87.67 kB / 0.9532 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3647, allocations: 0 / 0.9532 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3647, allocations: 0 / 0.9532 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.3647, allocations: 0 / 0.9532 GB, free: 5.965 MB / 0.7325 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.0008418/0.3656, allocations: 415.1 kB / 0.9536 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3656, allocations: 8.031 kB / 0.9536 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.396e-05/0.3657, allocations: 12.84 kB / 0.9536 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.3658, allocations: 172.2 kB / 0.9537 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.3658, allocations: 4.375 kB / 0.9537 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.579e-05/0.3659, allocations: 12.31 kB / 0.9538 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003411/0.3662, allocations: 127.9 kB / 0.9539 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.3662, allocations: 192 / 0.9539 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.3663, allocations: 3.938 kB / 0.9539 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.3663, allocations: 4 kB / 0.9539 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000357/0.3666, allocations: 99.89 kB / 0.954 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005992/0.3672, allocations: 436.5 kB / 0.9544 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003886/0.3676, allocations: 121.1 kB / 0.9545 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.3678, allocations: 61.73 kB / 0.9546 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.3679, allocations: 0 / 0.9546 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.3679, allocations: 34.56 kB / 0.9546 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 2.725e-06/0.3679, allocations: 3.984 kB / 0.9546 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0006061/0.3685, allocations: 173.4 kB / 0.9548 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.3687, allocations: 85.11 kB / 0.9549 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.3688, allocations: 140 kB / 0.955 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.3688, allocations: 25.7 kB / 0.955 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.213e-05/0.3689, allocations: 99.98 kB / 0.9551 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.3689, allocations: 19.86 kB / 0.9551 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.024e-05/0.369, allocations: 25.72 kB / 0.9552 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.3692, allocations: 326.7 kB / 0.9555 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.3693, allocations: 47.94 kB / 0.9555 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.3695, allocations: 57.67 kB / 0.9556 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/0.3698, allocations: 105.6 kB / 0.9557 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3698, allocations: 4 kB / 0.9557 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000366/0.3702, allocations: 145.4 kB / 0.9558 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.3702, allocations: 4 kB / 0.9558 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3702, allocations: 4 kB / 0.9558 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.3702, allocations: 4 kB / 0.9558 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.3704, allocations: 31.89 kB / 0.9558 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3704, allocations: 3.938 kB / 0.9559 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.3706, allocations: 19.86 kB / 0.9559 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.3706, allocations: 4 kB / 0.9559 GB, free: 2.918 MB / 0.7325 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.113e-05/0.3707, allocations: 117.8 kB / 0.956 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.3708, allocations: 11.91 kB / 0.956 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004891/0.3712, allocations: 181.8 kB / 0.9562 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3713, allocations: 8 kB / 0.9562 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3713, allocations: 0 / 0.9562 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.3713, allocations: 3.938 kB / 0.9562 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002963/0.3716, allocations: 209.5 kB / 0.9564 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.3716, allocations: 0 / 0.9564 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.3718, allocations: 31.97 kB / 0.9564 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.3718, allocations: 0.5156 kB / 0.9564 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.3718, allocations: 4 kB / 0.9564 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.3718, allocations: 80 / 0.9564 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.3718, allocations: 7.984 kB / 0.9564 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005958/0.3724, allocations: 342.4 kB / 0.9568 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.28e-05/0.3725, allocations: 93 kB / 0.9568 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.3725, allocations: 3.984 kB / 0.9568 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.3727, allocations: 15.98 kB / 0.9569 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.197e-05/0.3728, allocations: 15.92 kB / 0.9569 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.3728, allocations: 4 kB / 0.9569 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001777/0.373, allocations: 117.5 kB / 0.957 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.373, allocations: 0 / 0.957 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002806/0.3733, allocations: 16 kB / 0.957 GB, free: 1.66 MB / 0.7325 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.0001186/0.3734, allocations: 99.25 kB / 0.9571 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004086/0.3738, allocations: 115.8 kB / 0.9572 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3738, allocations: 0 / 0.9572 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.374, allocations: 67.89 kB / 0.9573 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004748/0.3745, allocations: 23.98 kB / 0.9573 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005942/0.3751, allocations: 227.5 kB / 0.9575 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.3754, allocations: 0.6962 MB / 0.9582 GB, free: 388 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.2e-05/0.3755, allocations: 16.55 kB / 0.9582 GB, free: 372 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.734e-05/0.3755, allocations: 15.44 kB / 0.9582 GB, free: 356 kB / 0.7325 GB Notification: Performance of SimCode: time 3.4e-07/0.3756, allocations: 4 kB / 0.9582 GB, free: 352 kB / 0.7325 GB Notification: Performance of Templates: time 0.004563/0.3801, allocations: 1.798 MB / 0.96 GB, free: 14.57 MB / 0.7481 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 -s cvode -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/jenkins1/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