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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009512/0.0009513, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0009382/0.0009382, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.58/2.58, allocations: 390.3 MB / 0.6653 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003553, allocations: 12 kB / 0.8145 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9477/0.9481, allocations: 142.3 MB / 0.9535 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi): time 0.0009029/0.949, allocations: 380.5 kB / 0.9539 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001583/0.9506, allocations: 1.315 MB / 0.9552 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.865e-05/0.9507, allocations: 1.25 kB / 0.9552 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.055e-05/0.9507, allocations: 0 / 0.9552 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.225e-05/0.9508, allocations: 14.11 kB / 0.9552 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.9511, allocations: 87.45 kB / 0.9553 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.241e-05/0.9512, allocations: 29.83 kB / 0.9553 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.9513, allocations: 12.3 kB / 0.9553 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.609e-05/0.9514, allocations: 11.03 kB / 0.9553 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.187e-05/0.9515, allocations: 22.34 kB / 0.9553 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.9515, allocations: 1.281 kB / 0.9553 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003269/0.9518, allocations: 157.7 kB / 0.9555 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.9518, allocations: 5.234 kB / 0.9555 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.704e-05/0.9519, allocations: 37.08 kB / 0.9555 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.9521, allocations: 100.5 kB / 0.9556 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.9521, allocations: 0 / 0.9556 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9521, allocations: 0 / 0.9556 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.9521, allocations: 1.062 kB / 0.9556 GB, free: 6.48 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.0004817/0.9526, allocations: 378.1 kB / 0.956 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.9527, allocations: 13.59 kB / 0.956 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004237/0.9531, allocations: 33.36 kB / 0.956 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.987e-05/0.9532, allocations: 169.1 kB / 0.9562 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.9532, allocations: 1.094 kB / 0.9562 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.9532, allocations: 2.719 kB / 0.9562 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002764/0.9535, allocations: 94.05 kB / 0.9563 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.9535, allocations: 0 / 0.9563 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.9535, allocations: 0 / 0.9563 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.9536, allocations: 4.953 kB / 0.9563 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003022/0.9539, allocations: 91.3 kB / 0.9564 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005213/0.9544, allocations: 304.2 kB / 0.9567 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/0.9548, allocations: 97.16 kB / 0.9568 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.9548, allocations: 1.25 kB / 0.9568 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.9548, allocations: 34.5 kB / 0.9568 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.9548, allocations: 1.094 kB / 0.9568 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0005294/0.9554, allocations: 140 kB / 0.9569 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.9554, allocations: 56.75 kB / 0.957 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.375e-05/0.9555, allocations: 121.3 kB / 0.9571 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.9555, allocations: 25.7 kB / 0.9571 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/0.9555, allocations: 94.06 kB / 0.9572 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.9556, allocations: 13.88 kB / 0.9572 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.114e-06/0.9556, allocations: 0 / 0.9572 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.314e-05/0.9557, allocations: 316.9 kB / 0.9575 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.9558, allocations: 37.16 kB / 0.9576 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.9559, allocations: 40.56 kB / 0.9576 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.9561, allocations: 37.31 kB / 0.9576 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.9561, allocations: 0 / 0.9576 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003341/0.9564, allocations: 120.4 kB / 0.9578 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.9565, allocations: 8.875 kB / 0.9578 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.9565, allocations: 3.969 kB / 0.9578 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.9565, allocations: 0 / 0.9578 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.9566, allocations: 16.2 kB / 0.9578 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.9567, allocations: 3.984 kB / 0.9578 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.9568, allocations: 11.94 kB / 0.9578 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.9568, allocations: 5.641 kB / 0.9578 GB, free: 4.469 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.008e-05/0.9569, allocations: 120.9 kB / 0.9579 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.9569, allocations: 5.766 kB / 0.9579 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.989e-05/0.9569, allocations: 9.906 kB / 0.9579 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.9569, allocations: 0 / 0.9579 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.9569, allocations: 3.984 kB / 0.9579 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.9569, allocations: 0 / 0.9579 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.9571, allocations: 173.2 kB / 0.9581 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.9571, allocations: 0 / 0.9581 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.9572, allocations: 25.66 kB / 0.9581 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.9572, allocations: 0 / 0.9581 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.9573, allocations: 7.953 kB / 0.9581 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.9573, allocations: 1.906 kB / 0.9581 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9573, allocations: 0 / 0.9581 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003336/0.9576, allocations: 203.9 kB / 0.9583 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.505e-05/0.9576, allocations: 82.53 kB / 0.9584 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.9577, allocations: 0 / 0.9584 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.9578, allocations: 16.69 kB / 0.9584 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.9578, allocations: 9.469 kB / 0.9584 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.9579, allocations: 5.281 kB / 0.9584 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.615e-05/0.9579, allocations: 98.8 kB / 0.9585 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9579, allocations: 0 / 0.9585 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002595/0.9582, allocations: 19.81 kB / 0.9585 GB, free: 3.719 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001831/0.9584, allocations: 111.5 kB / 0.9587 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003227/0.9587, allocations: 78.91 kB / 0.9587 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.9587, allocations: 1.781 kB / 0.9587 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.9588, allocations: 47.2 kB / 0.9588 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.9591, allocations: 11.25 kB / 0.9588 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005216/0.9596, allocations: 192.5 kB / 0.959 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.9598, allocations: 0.6812 MB / 0.9596 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001093/0.9599, allocations: 12.11 kB / 0.9596 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.9599, allocations: 11.56 kB / 0.9597 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.9599, allocations: 4 kB / 0.9597 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of Templates: time 0.003521/0.9635, allocations: 0.9223 MB / 0.9606 GB, free: 2.203 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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches