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 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.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.008624/0.008624, allocations: 95.86 kB / 15.73 MB, free: 6 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.001566/0.001566, allocations: 187.6 kB / 16.67 MB, free: 5.93 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.868/2.868, allocations: 472.6 MB / 0.7452 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 59.89 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3554, allocations: 159.9 MB / 1.226 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi): time 0.00199/0.3575, allocations: 0.6758 MB / 1.226 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001787/0.3593, allocations: 1.369 MB / 1.228 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.947e-05/0.3593, allocations: 0 / 1.228 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.194e-05/0.3593, allocations: 3.938 kB / 1.228 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.942e-05/0.3595, allocations: 7.875 kB / 1.228 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004583/0.3599, allocations: 107.5 kB / 1.228 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.36, allocations: 47.84 kB / 1.228 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.3602, allocations: 12 kB / 1.228 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.27e-05/0.3603, allocations: 19.92 kB / 1.228 GB, free: 7 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.861e-05/0.3604, allocations: 19.92 kB / 1.228 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.3604, allocations: 4 kB / 1.228 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003307/0.3607, allocations: 151.8 kB / 1.228 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.095e-05/0.3608, allocations: 11.92 kB / 1.228 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.6e-05/0.3608, allocations: 23.86 kB / 1.228 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.3611, allocations: 135.5 kB / 1.228 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3611, allocations: 0 / 1.228 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3611, allocations: 0 / 1.228 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.3611, allocations: 0 / 1.228 GB, free: 6.66 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006172/0.3617, allocations: 383.1 kB / 1.228 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.3618, allocations: 8.031 kB / 1.228 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004194/0.3622, allocations: 32.86 kB / 1.228 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.3624, allocations: 168.3 kB / 1.229 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.3624, allocations: 8.375 kB / 1.229 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.3624, allocations: 384 / 1.229 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.3627, allocations: 86.12 kB / 1.229 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3627, allocations: 4.188 kB / 1.229 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.3627, allocations: 7.938 kB / 1.229 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.3627, allocations: 4 kB / 1.229 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.3631, allocations: 71.92 kB / 1.229 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006074/0.3637, allocations: 320.6 kB / 1.229 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003008/0.364, allocations: 90.47 kB / 1.229 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.3641, allocations: 36.88 kB / 1.229 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.3642, allocations: 0 / 1.229 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.3642, allocations: 30.56 kB / 1.229 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.3642, allocations: 3.938 kB / 1.229 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0005474/0.3647, allocations: 129.5 kB / 1.229 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.3648, allocations: 55.41 kB / 1.229 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.963e-05/0.3649, allocations: 113.8 kB / 1.23 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.3649, allocations: 29.7 kB / 1.23 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.058e-05/0.365, allocations: 88.08 kB / 1.23 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.365, allocations: 19.89 kB / 1.23 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.634e-05/0.3651, allocations: 17.72 kB / 1.23 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.3652, allocations: 318.8 kB / 1.23 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.3653, allocations: 31.97 kB / 1.23 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.3655, allocations: 27.97 kB / 1.23 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.3657, allocations: 69.19 kB / 1.23 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3657, allocations: 0 / 1.23 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003093/0.3661, allocations: 109.5 kB / 1.23 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.3661, allocations: 8 kB / 1.23 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3661, allocations: 3.938 kB / 1.23 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.3661, allocations: 4 kB / 1.23 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.3663, allocations: 15.97 kB / 1.23 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.3663, allocations: 4 kB / 1.23 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.442e-05/0.3664, allocations: 7.984 kB / 1.23 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.3664, allocations: 0 / 1.23 GB, free: 4.172 MB / 0.9825 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.0001023/0.3665, allocations: 122.3 kB / 1.23 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.3665, allocations: 7.953 kB / 1.23 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.288e-05/0.3666, allocations: 7.906 kB / 1.23 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3666, allocations: 0 / 1.23 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3666, allocations: 0 / 1.23 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.3666, allocations: 3.984 kB / 1.23 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.3668, allocations: 177.6 kB / 1.231 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3668, allocations: 192 / 1.231 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.3669, allocations: 19.98 kB / 1.231 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3669, allocations: 0 / 1.231 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.367, allocations: 11.98 kB / 1.231 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.367, allocations: 0 / 1.231 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.367, allocations: 0 / 1.231 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000376/0.3674, allocations: 199.3 kB / 1.231 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/0.3674, allocations: 84.98 kB / 1.231 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.3675, allocations: 8 kB / 1.231 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.3676, allocations: 7.984 kB / 1.231 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.3676, allocations: 4 kB / 1.231 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.3676, allocations: 7.984 kB / 1.231 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.958e-05/0.3677, allocations: 87.28 kB / 1.231 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3677, allocations: 0 / 1.231 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000241/0.3679, allocations: 12 kB / 1.231 GB, free: 3.32 MB / 0.9825 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.0002494/0.3682, allocations: 119.2 kB / 1.231 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003451/0.3686, allocations: 71.86 kB / 1.231 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3686, allocations: 0 / 1.231 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.3687, allocations: 31.97 kB / 1.231 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.3691, allocations: 20.16 kB / 1.231 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004775/0.3696, allocations: 178 kB / 1.231 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.3699, allocations: 0.6807 MB / 1.232 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.641e-05/0.3699, allocations: 15.98 kB / 1.232 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.216e-05/0.37, allocations: 15.42 kB / 1.232 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.37, allocations: 0 / 1.232 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of Templates: time 0.003647/0.3737, allocations: 1.034 MB / 1.233 GB, free: 1.145 MB / 0.9825 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