Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001483/0.001483, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001989/0.001989, allocations: 194.5 kB / 16.14 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.444/1.444, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.559/2.559, allocations: 390.2 MB / 0.6642 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001264, allocations: 59.91 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7828/0.7841, allocations: 140.4 MB / 0.9489 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi): time 0.001944/0.786, allocations: 0.7386 MB / 0.9496 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.7874, allocations: 1.388 MB / 0.951 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.496e-05/0.7875, allocations: 0 / 0.951 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.082e-05/0.7875, allocations: 1.375 kB / 0.951 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.678e-05/0.7876, allocations: 11.92 kB / 0.951 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.788, allocations: 84.39 kB / 0.9511 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.171e-05/0.788, allocations: 52.41 kB / 0.9511 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.7881, allocations: 8.125 kB / 0.9512 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.79e-05/0.7882, allocations: 20.17 kB / 0.9512 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.814e-05/0.7883, allocations: 21.53 kB / 0.9512 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.7883, allocations: 2.719 kB / 0.9512 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002579/0.7886, allocations: 154.9 kB / 0.9513 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.7886, allocations: 9.391 kB / 0.9514 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.893e-05/0.7886, allocations: 17.28 kB / 0.9514 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.7888, allocations: 124.9 kB / 0.9515 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.7888, allocations: 1.25 kB / 0.9515 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.31e-07/0.7888, allocations: 0 / 0.9515 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.054e-06/0.7889, allocations: 0 / 0.9515 GB, free: 7.191 MB / 0.7169 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.0004495/0.7893, allocations: 388.1 kB / 0.9519 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.7894, allocations: 10.47 kB / 0.9519 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004357/0.7898, allocations: 30.78 kB / 0.9519 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.553e-05/0.7899, allocations: 173.7 kB / 0.9521 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.7899, allocations: 1.656 kB / 0.9521 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.7899, allocations: 6.938 kB / 0.9521 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/0.7902, allocations: 81.38 kB / 0.9521 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.7902, allocations: 1.5 kB / 0.9521 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.7902, allocations: 7.938 kB / 0.9522 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.7902, allocations: 1.188 kB / 0.9522 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003099/0.7906, allocations: 73.11 kB / 0.9522 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005148/0.7911, allocations: 316 kB / 0.9525 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/0.7914, allocations: 77.02 kB / 0.9526 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.7916, allocations: 42.38 kB / 0.9526 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.7916, allocations: 0 / 0.9526 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.378e-05/0.7916, allocations: 35.38 kB / 0.9527 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.7916, allocations: 4.812 kB / 0.9527 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0005907/0.7922, allocations: 130.1 kB / 0.9528 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.7922, allocations: 51.41 kB / 0.9529 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.759e-05/0.7923, allocations: 114.6 kB / 0.953 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.7924, allocations: 25.7 kB / 0.953 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.926e-05/0.7924, allocations: 90.73 kB / 0.9531 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.7924, allocations: 13.17 kB / 0.9531 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.7925, allocations: 18.69 kB / 0.9531 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.668e-05/0.7925, allocations: 323.9 kB / 0.9534 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.7927, allocations: 33.06 kB / 0.9534 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.7928, allocations: 31.41 kB / 0.9535 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002699/0.7931, allocations: 69.69 kB / 0.9535 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.7931, allocations: 1.125 kB / 0.9535 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000324/0.7935, allocations: 102 kB / 0.9536 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.7935, allocations: 5.781 kB / 0.9536 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.7935, allocations: 4 kB / 0.9536 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.7935, allocations: 9.375 kB / 0.9537 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.7937, allocations: 19.41 kB / 0.9537 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.7937, allocations: 0 / 0.9537 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.7938, allocations: 13.89 kB / 0.9537 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.7939, allocations: 1.812 kB / 0.9537 GB, free: 5.109 MB / 0.7169 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 5.645e-05/0.7939, allocations: 116.6 kB / 0.9538 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.7939, allocations: 5.219 kB / 0.9538 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.775e-05/0.794, allocations: 13.88 kB / 0.9538 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.794, allocations: 3.984 kB / 0.9538 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.794, allocations: 1.438 kB / 0.9538 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.794, allocations: 3.984 kB / 0.9538 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.7942, allocations: 179.9 kB / 0.954 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.7942, allocations: 0 / 0.954 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.7943, allocations: 14.33 kB / 0.954 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.7943, allocations: 1.094 kB / 0.954 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.7943, allocations: 5.109 kB / 0.954 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.7943, allocations: 384 / 0.954 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7943, allocations: 5.094 kB / 0.954 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003775/0.7947, allocations: 194.2 kB / 0.9542 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.034e-05/0.7948, allocations: 82.27 kB / 0.9543 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.7948, allocations: 5 kB / 0.9543 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.7949, allocations: 16.73 kB / 0.9543 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.795, allocations: 2.344 kB / 0.9543 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.795, allocations: 5.234 kB / 0.9543 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.388e-05/0.7951, allocations: 86.78 kB / 0.9544 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7951, allocations: 0 / 0.9544 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002873/0.7954, allocations: 24.16 kB / 0.9544 GB, free: 4.363 MB / 0.7169 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.0002247/0.7956, allocations: 107.9 kB / 0.9545 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000373/0.796, allocations: 73.33 kB / 0.9546 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.796, allocations: 0 / 0.9546 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.7962, allocations: 39.88 kB / 0.9546 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.7966, allocations: 14.41 kB / 0.9546 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005679/0.7972, allocations: 174.2 kB / 0.9548 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001683/0.7974, allocations: 0.681 MB / 0.9555 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001166/0.7975, allocations: 16.75 kB / 0.9555 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.589e-05/0.7975, allocations: 14.61 kB / 0.9555 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of SimCode: time 5.81e-07/0.7975, allocations: 0 / 0.9555 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of Templates: time 0.003792/0.8013, allocations: 0.9422 MB / 0.9564 GB, free: 2.855 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_SpecificEnthalpy_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches