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.001473/0.001473, allocations: 107.6 kB / 16.27 MB, free: 6.414 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.001455/0.001455, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.347/1.347, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.641/2.641, allocations: 482.4 MB / 0.7553 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 64.19 kB / 0.9245 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6922/0.6941, allocations: 162.2 MB / 1.083 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi): time 0.001755/0.6959, allocations: 0.6722 MB / 1.084 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001377/0.6973, allocations: 1.374 MB / 1.085 GB, free: 236 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.012e-05/0.6973, allocations: 0 / 1.085 GB, free: 236 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.53e-05/0.6973, allocations: 5.266 kB / 1.085 GB, free: 232 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.437e-05/0.6974, allocations: 6.359 kB / 1.085 GB, free: 228 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.6978, allocations: 102.1 kB / 1.085 GB, free: 180 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.823e-05/0.6978, allocations: 45.09 kB / 1.085 GB, free: 160 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.658e-05/0.6979, allocations: 23.8 kB / 1.085 GB, free: 144 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.426e-05/0.698, allocations: 22.16 kB / 1.085 GB, free: 132 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.304e-05/0.698, allocations: 23.66 kB / 1.085 GB, free: 120 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.6981, allocations: 3.938 kB / 1.085 GB, free: 120 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002619/0.6983, allocations: 141 kB / 1.085 GB, free: 88 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.508e-05/0.6984, allocations: 15.69 kB / 1.085 GB, free: 76 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.66e-05/0.6984, allocations: 15.05 kB / 1.085 GB, free: 68 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.6986, allocations: 130.4 kB / 1.085 GB, free: 24 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6986, allocations: 1.469 kB / 1.085 GB, free: 24 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.083e-06/0.6986, allocations: 0 / 1.085 GB, free: 24 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.6986, allocations: 0 / 1.085 GB, free: 24 kB / 0.8262 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.0005782/0.6992, allocations: 381.3 kB / 1.086 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.6993, allocations: 8.25 kB / 1.086 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004043/0.6997, allocations: 32.72 kB / 1.086 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.6998, allocations: 172 kB / 1.086 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.156e-06/0.6998, allocations: 6.281 kB / 1.086 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.6999, allocations: 2.656 kB / 1.086 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002564/0.7001, allocations: 80.81 kB / 1.086 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.7001, allocations: 192 / 1.086 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.7002, allocations: 9 kB / 1.086 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.7002, allocations: 1.344 kB / 1.086 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003068/0.7005, allocations: 76.17 kB / 1.086 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005694/0.7011, allocations: 315.9 kB / 1.086 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003305/0.7014, allocations: 79.06 kB / 1.087 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.7016, allocations: 37.92 kB / 1.087 GB, free: 15 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.7016, allocations: 0.9062 kB / 1.087 GB, free: 15 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.7016, allocations: 32 kB / 1.087 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.7016, allocations: 0 / 1.087 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0005432/0.7022, allocations: 133 kB / 1.087 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.7022, allocations: 53.12 kB / 1.087 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.7023, allocations: 114.2 kB / 1.087 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.7023, allocations: 29.7 kB / 1.087 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.599e-05/0.7024, allocations: 91.77 kB / 1.087 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.7024, allocations: 19.42 kB / 1.087 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/0.7025, allocations: 20.03 kB / 1.087 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.7026, allocations: 322.3 kB / 1.087 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.7028, allocations: 31.8 kB / 1.087 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.7029, allocations: 29.47 kB / 1.087 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.7032, allocations: 76.81 kB / 1.087 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.7032, allocations: 0 / 1.087 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003398/0.7036, allocations: 104.7 kB / 1.088 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.7036, allocations: 5.359 kB / 1.088 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.7036, allocations: 1.5 kB / 1.088 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.7036, allocations: 0 / 1.088 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.7038, allocations: 18.19 kB / 1.088 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.7038, allocations: 0 / 1.088 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.7039, allocations: 13.59 kB / 1.088 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.7039, allocations: 2.266 kB / 1.088 GB, free: 14.16 MB / 0.8419 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 9.76e-05/0.704, allocations: 125.1 kB / 1.088 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.7041, allocations: 2.312 kB / 1.088 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.808e-05/0.7041, allocations: 10.33 kB / 1.088 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.7041, allocations: 0.8906 kB / 1.088 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.7041, allocations: 192 / 1.088 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.7041, allocations: 0.9688 kB / 1.088 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.7043, allocations: 181.2 kB / 1.088 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.7043, allocations: 0 / 1.088 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.7045, allocations: 16.78 kB / 1.088 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.7045, allocations: 4 kB / 1.088 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.7045, allocations: 7.172 kB / 1.088 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.7045, allocations: 0 / 1.088 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7045, allocations: 1.219 kB / 1.088 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003837/0.7049, allocations: 193.8 kB / 1.088 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.241e-05/0.705, allocations: 83.05 kB / 1.088 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.705, allocations: 1.938 kB / 1.088 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.7051, allocations: 8.359 kB / 1.088 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.7052, allocations: 11.81 kB / 1.088 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.7052, allocations: 6.062 kB / 1.088 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.06e-05/0.7053, allocations: 94.89 kB / 1.088 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7053, allocations: 3.938 kB / 1.088 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002562/0.7055, allocations: 22.5 kB / 1.088 GB, free: 13.46 MB / 0.8419 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.0001721/0.7057, allocations: 120.5 kB / 1.088 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003508/0.7061, allocations: 68.06 kB / 1.089 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.7061, allocations: 0 / 1.089 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.7062, allocations: 40.92 kB / 1.089 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.7066, allocations: 16.47 kB / 1.089 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004827/0.707, allocations: 186.8 kB / 1.089 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.7074, allocations: 0.6802 MB / 1.089 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.417e-05/0.7074, allocations: 17.91 kB / 1.089 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.7074, allocations: 1.25 kB / 1.089 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of Templates: time 0.002827/0.7103, allocations: 1.132 MB / 1.091 GB, free: 12.39 MB / 0.8419 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=400 -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/jenkins1/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