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.001622/0.001622, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01131/0.01131, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.522/1.522, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.89/2.89, allocations: 462.7 MB / 0.7364 GB, free: 312 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003525, allocations: 11.47 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3186, allocations: 159.6 MB / 1.059 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi): time 0.001053/0.3197, allocations: 407.1 kB / 1.059 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001932/0.3217, allocations: 1.373 MB / 1.06 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.204e-05/0.3217, allocations: 4 kB / 1.06 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.174e-05/0.3218, allocations: 3.938 kB / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.368e-05/0.3219, allocations: 7.875 kB / 1.06 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.3222, allocations: 91.67 kB / 1.061 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.515e-05/0.3223, allocations: 43.86 kB / 1.061 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.501e-05/0.3224, allocations: 7.984 kB / 1.061 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.555e-05/0.3225, allocations: 23.92 kB / 1.061 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.77e-05/0.3225, allocations: 19.92 kB / 1.061 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.3226, allocations: 0 / 1.061 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002601/0.3228, allocations: 155.7 kB / 1.061 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.628e-05/0.3229, allocations: 7.922 kB / 1.061 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.251e-05/0.3229, allocations: 45.62 kB / 1.061 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.3231, allocations: 127.9 kB / 1.061 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3231, allocations: 0 / 1.061 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3231, allocations: 3.938 kB / 1.061 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.3232, allocations: 0 / 1.061 GB, free: 3.176 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.0005221/0.3237, allocations: 387.3 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.3237, allocations: 8.031 kB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004854/0.3242, allocations: 28.89 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.3244, allocations: 172.3 kB / 1.061 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.3244, allocations: 384 / 1.061 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.3244, allocations: 8.375 kB / 1.062 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003764/0.3248, allocations: 82.19 kB / 1.062 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3249, allocations: 192 / 1.062 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.3249, allocations: 7.938 kB / 1.062 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.3249, allocations: 0 / 1.062 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004922/0.3254, allocations: 87.86 kB / 1.062 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006276/0.326, allocations: 324.5 kB / 1.062 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003178/0.3264, allocations: 78.53 kB / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.3265, allocations: 44.91 kB / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.3266, allocations: 4 kB / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.3266, allocations: 34.5 kB / 1.062 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.472e-06/0.3266, allocations: 0 / 1.062 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0005682/0.3272, allocations: 145.5 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.3272, allocations: 55.41 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.639e-05/0.3273, allocations: 121.7 kB / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.3273, allocations: 25.7 kB / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.371e-05/0.3274, allocations: 96.03 kB / 1.063 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.406e-05/0.3274, allocations: 7.969 kB / 1.063 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.3275, allocations: 13.72 kB / 1.063 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.3276, allocations: 322.8 kB / 1.063 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.3277, allocations: 35.97 kB / 1.063 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.3279, allocations: 39.91 kB / 1.063 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.3282, allocations: 76.81 kB / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3282, allocations: 0 / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003427/0.3285, allocations: 121.5 kB / 1.063 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.3285, allocations: 4 kB / 1.063 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3286, allocations: 0 / 1.063 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.3286, allocations: 0 / 1.063 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.3287, allocations: 23.97 kB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.3288, allocations: 0 / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.3289, allocations: 15.94 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.3289, allocations: 8.109 kB / 1.063 GB, free: 0.6172 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.0001159/0.329, allocations: 119.3 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.3291, allocations: 7.906 kB / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.429e-05/0.3291, allocations: 11.91 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3291, allocations: 0 / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3291, allocations: 0 / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3291, allocations: 0 / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.3293, allocations: 185.6 kB / 1.064 GB, free: 244 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3293, allocations: 0 / 1.064 GB, free: 244 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.3295, allocations: 15.98 kB / 1.064 GB, free: 228 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3295, allocations: 0 / 1.064 GB, free: 228 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.3295, allocations: 4 kB / 1.064 GB, free: 224 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.3295, allocations: 3.984 kB / 1.064 GB, free: 220 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3295, allocations: 0 / 1.064 GB, free: 220 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004068/0.3299, allocations: 215.5 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/0.33, allocations: 81.02 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.33, allocations: 4 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.3301, allocations: 15.98 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.3302, allocations: 0 / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.3302, allocations: 3.938 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.013e-05/0.3302, allocations: 95.58 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3303, allocations: 0 / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002551/0.3305, allocations: 20 kB / 1.064 GB, free: 15.75 MB / 0.8262 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.0001931/0.3307, allocations: 115.2 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003584/0.3311, allocations: 75.94 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3311, allocations: 0 / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.3312, allocations: 47.89 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.3316, allocations: 15.94 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005435/0.3322, allocations: 174.8 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.3325, allocations: 0.6848 MB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001094/0.3326, allocations: 16 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/0.3326, allocations: 11.44 kB / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.3326, allocations: 0 / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of Templates: time 0.003545/0.3362, allocations: 0.9401 MB / 1.066 GB, free: 13.66 MB / 0.8262 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