Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_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.WetBulb_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TDryBul|wetBulPhi.phi|wetBulPhi.TWetBul|wetBulPhi1.TDryBul|wetBulPhi1.phi|wetBulPhi1.TWetBul",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi") translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TDryBul|wetBulPhi.phi|wetBulPhi.TWetBul|wetBulPhi1.TDryBul|wetBulPhi1.phi|wetBulPhi1.TWetBul",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 100.1 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.001248/0.001248, allocations: 177.3 kB / 15.95 MB, free: 216 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.519/1.519, allocations: 223.2 MB / 239.9 MB, free: 5.438 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.504/2.504, allocations: 390.3 MB / 0.6653 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004716/0.0004719, allocations: 11.98 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.947/0.9474, allocations: 142.3 MB / 0.9535 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.001135/0.9486, allocations: 470.2 kB / 0.954 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00127/0.9499, allocations: 0.8609 MB / 0.9548 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.557e-05/0.95, allocations: 1.156 kB / 0.9548 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.016e-05/0.95, allocations: 7.875 kB / 0.9548 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.9501, allocations: 20.05 kB / 0.9548 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.9503, allocations: 29.95 kB / 0.9549 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.9505, allocations: 58.05 kB / 0.9549 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.9506, allocations: 23.38 kB / 0.9549 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.9507, allocations: 35.47 kB / 0.955 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.9508, allocations: 39.7 kB / 0.955 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.9509, allocations: 2.344 kB / 0.955 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.058e-05/0.9509, allocations: 4.094 kB / 0.955 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.592e-05/0.9509, allocations: 14.23 kB / 0.955 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.467e-05/0.951, allocations: 38.45 kB / 0.9551 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.927e-05/0.9511, allocations: 64.78 kB / 0.9551 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.9511, allocations: 0 / 0.9551 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9511, allocations: 0 / 0.9551 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.9511, allocations: 1.562 kB / 0.9551 GB, free: 6.84 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.00056/0.9516, allocations: 407.8 kB / 0.9555 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.9517, allocations: 10.09 kB / 0.9555 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.9517, allocations: 23.2 kB / 0.9556 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.77e-05/0.9518, allocations: 171.7 kB / 0.9557 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.9518, allocations: 2.438 kB / 0.9557 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.9519, allocations: 7.438 kB / 0.9557 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003326/0.9522, allocations: 141.4 kB / 0.9559 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.9522, allocations: 0 / 0.9559 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.9522, allocations: 1.125 kB / 0.9559 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.9522, allocations: 1.031 kB / 0.9559 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003928/0.9526, allocations: 127.1 kB / 0.956 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005449/0.9532, allocations: 428 kB / 0.9564 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004254/0.9536, allocations: 132.7 kB / 0.9565 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.9537, allocations: 1.188 kB / 0.9565 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.9537, allocations: 35.75 kB / 0.9566 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.051e-06/0.9537, allocations: 0 / 0.9566 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0007653/0.9545, allocations: 206.9 kB / 0.9568 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/0.9545, allocations: 82.3 kB / 0.9568 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.9547, allocations: 138.9 kB / 0.957 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.9547, allocations: 30.86 kB / 0.957 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.958e-05/0.9548, allocations: 98.52 kB / 0.9571 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.9549, allocations: 18.91 kB / 0.9571 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-06/0.9549, allocations: 0 / 0.9571 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.955, allocations: 321.8 kB / 0.9574 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.9552, allocations: 57.17 kB / 0.9575 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.9554, allocations: 69.33 kB / 0.9575 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.9556, allocations: 61.83 kB / 0.9576 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.9556, allocations: 3.953 kB / 0.9576 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004539/0.9561, allocations: 166.8 kB / 0.9578 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.9561, allocations: 4.938 kB / 0.9578 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.9561, allocations: 1.719 kB / 0.9578 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/0.9562, allocations: 11.92 kB / 0.9578 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.9564, allocations: 41.77 kB / 0.9578 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.9564, allocations: 1.812 kB / 0.9578 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.9565, allocations: 20.45 kB / 0.9578 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.9566, allocations: 3.562 kB / 0.9578 GB, free: 4.465 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 0.0001096/0.9567, allocations: 119.5 kB / 0.9579 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.307e-05/0.9567, allocations: 15.42 kB / 0.958 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000577/0.9573, allocations: 206.8 kB / 0.9582 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.9573, allocations: 1.406 kB / 0.9582 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.9573, allocations: 1.312 kB / 0.9582 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.9574, allocations: 0 / 0.9582 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.9576, allocations: 211.7 kB / 0.9584 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.9576, allocations: 1.094 kB / 0.9584 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.9578, allocations: 41.92 kB / 0.9584 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.9578, allocations: 0 / 0.9584 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.9578, allocations: 1.375 kB / 0.9584 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.9578, allocations: 2 kB / 0.9584 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.9579, allocations: 3.938 kB / 0.9584 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004866/0.9583, allocations: 369.9 kB / 0.9588 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.125e-05/0.9584, allocations: 101.3 kB / 0.9589 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.9584, allocations: 1.344 kB / 0.9589 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.9586, allocations: 20.33 kB / 0.9589 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/0.9587, allocations: 13.23 kB / 0.9589 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.9587, allocations: 2.406 kB / 0.9589 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.893e-05/0.9588, allocations: 115.5 kB / 0.959 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9588, allocations: 0.9062 kB / 0.959 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002774/0.9591, allocations: 16.28 kB / 0.959 GB, free: 3.438 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 11 * 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.0001132/0.9592, allocations: 105.3 kB / 0.9591 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004254/0.9596, allocations: 137 kB / 0.9593 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.9596, allocations: 0 / 0.9593 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.9598, allocations: 78.52 kB / 0.9593 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.9602, allocations: 23.62 kB / 0.9594 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004899/0.9607, allocations: 270.1 kB / 0.9596 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001436/0.9609, allocations: 0.705 MB / 0.9603 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.788e-05/0.9609, allocations: 19.73 kB / 0.9603 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.823e-05/0.961, allocations: 12.94 kB / 0.9603 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of SimCode: time 1.293e-06/0.961, allocations: 0 / 0.9603 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of Templates: time 0.004299/0.9653, allocations: 1.53 MB / 0.9618 GB, free: 1.508 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches