Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.SpecificEnthalpy_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hBulPhi.h|phi.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi") translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hBulPhi.h|phi.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001523, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.002137/0.002137, allocations: 189 kB / 16.25 MB, free: 6.152 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.514/1.514, allocations: 222.9 MB / 239.9 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.87/2.87, allocations: 461.9 MB / 0.7343 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 67.14 kB / 0.8986 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.376, allocations: 157.4 MB / 1.052 GB, free: 8.703 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi): time 0.002218/0.3783, allocations: 0.7287 MB / 1.053 GB, free: 7.973 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00189/0.3802, allocations: 1.377 MB / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.164e-05/0.3803, allocations: 4 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.907e-05/0.3803, allocations: 4 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.688e-05/0.3804, allocations: 7.922 kB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004316/0.3809, allocations: 91.62 kB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.921e-05/0.381, allocations: 47.86 kB / 1.054 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.3811, allocations: 12 kB / 1.054 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.674e-05/0.3812, allocations: 19.86 kB / 1.055 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.606e-05/0.3813, allocations: 31.89 kB / 1.055 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.3813, allocations: 4 kB / 1.055 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002782/0.3816, allocations: 151.7 kB / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.3816, allocations: 7.938 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.065e-05/0.3816, allocations: 23.92 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.3819, allocations: 123.9 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3819, allocations: 0 / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.985e-06/0.382, allocations: 0 / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.382, allocations: 0 / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007136/0.3827, allocations: 387.2 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.3827, allocations: 16.56 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004676/0.3832, allocations: 28.89 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.3834, allocations: 168.3 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.3834, allocations: 4.375 kB / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.3834, allocations: 4.375 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.3837, allocations: 86.19 kB / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.3837, allocations: 192 / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.3837, allocations: 3.938 kB / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.3837, allocations: 0 / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/0.384, allocations: 67.92 kB / 1.056 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005792/0.3846, allocations: 340.3 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.3849, allocations: 78.53 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.3851, allocations: 36.91 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.3851, allocations: 0 / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.3851, allocations: 34.56 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 4.379e-06/0.3851, allocations: 0 / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0005315/0.3857, allocations: 133.5 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.3857, allocations: 51.41 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.057e-05/0.3858, allocations: 113.8 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.3858, allocations: 25.7 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.657e-05/0.3859, allocations: 96.03 kB / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.3859, allocations: 8.188 kB / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.642e-05/0.386, allocations: 25.7 kB / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.3861, allocations: 322.8 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.3862, allocations: 27.97 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.3864, allocations: 35.91 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002656/0.3866, allocations: 72.73 kB / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3867, allocations: 0 / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003182/0.387, allocations: 93.64 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.387, allocations: 8 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.387, allocations: 8.172 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.387, allocations: 0 / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.3872, allocations: 23.98 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3872, allocations: 0 / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.3874, allocations: 11.92 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.3874, allocations: 4 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * Single equations (assignments): 5 * 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.0001068/0.3875, allocations: 117.7 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.3875, allocations: 11.91 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.785e-05/0.3876, allocations: 7.891 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.3876, allocations: 0 / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3876, allocations: 4 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3876, allocations: 0 / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.3878, allocations: 177.6 kB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3878, allocations: 0 / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.3879, allocations: 19.97 kB / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.388, allocations: 0 / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.388, allocations: 0 / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.388, allocations: 8 kB / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.388, allocations: 0 / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/0.3884, allocations: 191.3 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.041e-05/0.3884, allocations: 81.11 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.3885, allocations: 11.88 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.3886, allocations: 11.98 kB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.3887, allocations: 7.984 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.3887, allocations: 0 / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.142e-05/0.3887, allocations: 91.27 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3887, allocations: 0 / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002744/0.389, allocations: 20 kB / 1.058 GB, free: 2.723 MB / 0.8106 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 (4): * Single equations (assignments): 4 * 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.0001798/0.3892, allocations: 115.5 kB / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003386/0.3896, allocations: 67.94 kB / 1.058 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3896, allocations: 0 / 1.058 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.3897, allocations: 40.08 kB / 1.058 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.3901, allocations: 15.92 kB / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005401/0.3906, allocations: 179.1 kB / 1.058 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.3909, allocations: 0.6846 MB / 1.059 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001184/0.391, allocations: 11.98 kB / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.566e-05/0.391, allocations: 15.42 kB / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.391, allocations: 0 / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of Templates: time 0.003962/0.395, allocations: 0.9793 MB / 1.06 GB, free: 0.6055 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_SpecificEnthalpy_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches