Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.009006/0.009006, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001692/0.001693, allocations: 202.6 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.542/1.542, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.058/3.058, allocations: 472.6 MB / 0.7453 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 67.91 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3703, allocations: 159.9 MB / 1.226 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.002327/0.3727, allocations: 0.7614 MB / 1.226 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.3739, allocations: 0.8701 MB / 1.227 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.346e-05/0.374, allocations: 0 / 1.227 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.797e-05/0.3741, allocations: 11.86 kB / 1.227 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.3742, allocations: 15.86 kB / 1.227 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.3744, allocations: 35.89 kB / 1.227 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.3745, allocations: 103.7 kB / 1.227 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.3747, allocations: 19.98 kB / 1.227 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.3748, allocations: 43.91 kB / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.3749, allocations: 47.75 kB / 1.227 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.247e-05/0.375, allocations: 8 kB / 1.227 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.242e-05/0.375, allocations: 8 kB / 1.227 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.13e-05/0.375, allocations: 23.86 kB / 1.228 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.83e-05/0.3751, allocations: 39.78 kB / 1.228 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.3753, allocations: 91.61 kB / 1.228 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3753, allocations: 0 / 1.228 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3753, allocations: 0 / 1.228 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.3753, allocations: 4 kB / 1.228 GB, free: 7.125 MB / 0.9825 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.0007433/0.376, allocations: 411 kB / 1.228 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.3761, allocations: 8.031 kB / 1.228 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.3761, allocations: 12.89 kB / 1.228 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.3763, allocations: 172.3 kB / 1.228 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.3763, allocations: 8.375 kB / 1.228 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.3763, allocations: 8.359 kB / 1.228 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/0.3766, allocations: 127.8 kB / 1.228 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.3766, allocations: 4.188 kB / 1.228 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.3767, allocations: 3.938 kB / 1.228 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.3767, allocations: 4 kB / 1.228 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003428/0.377, allocations: 99.89 kB / 1.228 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005541/0.3776, allocations: 436.6 kB / 1.229 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004075/0.378, allocations: 117.1 kB / 1.229 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.3782, allocations: 61.73 kB / 1.229 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.3782, allocations: 4.156 kB / 1.229 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.3783, allocations: 34.56 kB / 1.229 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.3783, allocations: 0 / 1.229 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0006499/0.3789, allocations: 173.4 kB / 1.229 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.379, allocations: 81.11 kB / 1.229 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.3791, allocations: 135.9 kB / 1.229 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.3791, allocations: 25.7 kB / 1.229 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.113e-05/0.3792, allocations: 108 kB / 1.23 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.3793, allocations: 27.77 kB / 1.23 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-05/0.3793, allocations: 21.67 kB / 1.23 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.3794, allocations: 326.8 kB / 1.23 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.3796, allocations: 51.89 kB / 1.23 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.3798, allocations: 57.67 kB / 1.23 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.3801, allocations: 105.6 kB / 1.23 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3801, allocations: 4 kB / 1.23 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003939/0.3805, allocations: 141.9 kB / 1.23 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.3806, allocations: 8 kB / 1.23 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3806, allocations: 96 / 1.23 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.3806, allocations: 11.92 kB / 1.23 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.3808, allocations: 27.97 kB / 1.23 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.3808, allocations: 7.984 kB / 1.23 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.3809, allocations: 23.92 kB / 1.23 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.3809, allocations: 0 / 1.23 GB, free: 4.07 MB / 0.9825 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.615e-05/0.381, allocations: 118.3 kB / 1.23 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.578e-05/0.3811, allocations: 7.953 kB / 1.23 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005142/0.3816, allocations: 189.6 kB / 1.231 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3816, allocations: 0 / 1.231 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3816, allocations: 4 kB / 1.231 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3816, allocations: 3.938 kB / 1.231 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002586/0.3819, allocations: 205.6 kB / 1.231 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3819, allocations: 0 / 1.231 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.3821, allocations: 35.97 kB / 1.231 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3821, allocations: 0 / 1.231 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.3821, allocations: 4 kB / 1.231 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.3821, allocations: 0 / 1.231 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3821, allocations: 4 kB / 1.231 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004841/0.3826, allocations: 334.4 kB / 1.231 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.813e-05/0.3827, allocations: 101 kB / 1.231 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.3827, allocations: 4 kB / 1.231 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.3829, allocations: 15.98 kB / 1.231 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.349e-05/0.383, allocations: 11.92 kB / 1.231 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.383, allocations: 4 kB / 1.231 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.658e-05/0.3831, allocations: 112.8 kB / 1.231 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3831, allocations: 4 kB / 1.231 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002913/0.3834, allocations: 20 kB / 1.231 GB, free: 2.809 MB / 0.9825 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.0001207/0.3835, allocations: 99.25 kB / 1.232 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004187/0.3839, allocations: 111.8 kB / 1.232 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.3839, allocations: 4 kB / 1.232 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.3841, allocations: 67.89 kB / 1.232 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004732/0.3846, allocations: 31.78 kB / 1.232 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00051/0.3851, allocations: 235.2 kB / 1.232 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.3854, allocations: 0.6924 MB / 1.233 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.968e-05/0.3855, allocations: 16.55 kB / 1.233 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.929e-05/0.3856, allocations: 19.44 kB / 1.233 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of SimCode: time 2.1e-07/0.3856, allocations: 3.938 kB / 1.233 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of Templates: time 0.004347/0.39, allocations: 1.811 MB / 1.234 GB, free: 15.7 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches