Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod.yOutDam|mod.yRetDam|mod.yHeaCoi|mod.TSupHeaEcoSet|mod.TSup",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod.yOutDam|mod.yRetDam|mod.yHeaCoi|mod.TSupHeaEcoSet|mod.TSup",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008962/0.000896, 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.0009544/0.0009544, 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.477/1.477, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.704/2.704, allocations: 436.5 MB / 0.7104 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004257/0.0004257, allocations: 12 kB / 0.8709 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8434/0.8438, allocations: 153.7 MB / 1.021 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup): time 0.002412/0.8463, allocations: 1.398 MB / 1.022 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002223/0.8485, allocations: 1.272 MB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002381/0.8488, allocations: 11.94 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.15e-05/0.8489, allocations: 27.66 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002378/0.8491, allocations: 63.78 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003609/0.8495, allocations: 127.8 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004094/0.8499, allocations: 293.1 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003753/0.8503, allocations: 192.6 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.8505, allocations: 107.4 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.8506, allocations: 139.1 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.977e-05/0.8507, allocations: 12 kB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.469e-05/0.8507, allocations: 12 kB / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.121e-05/0.8508, allocations: 47.77 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.26e-05/0.8509, allocations: 101.4 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006008/0.8515, allocations: 0.5901 MB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.8515, allocations: 0 / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.655e-06/0.8515, allocations: 0 / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.8515, allocations: 0 / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001288/0.8528, allocations: 0.6704 MB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/0.8529, allocations: 11.98 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.853, allocations: 59.28 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006898/0.8537, allocations: 395.1 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.796e-05/0.8538, allocations: 29 kB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.979e-05/0.8538, allocations: 47.95 kB / 1.026 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008312/0.8547, allocations: 414.1 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.8547, allocations: 0 / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.347e-05/0.8547, allocations: 20 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.8548, allocations: 12 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006465/0.8554, allocations: 307.8 kB / 1.027 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00201/0.8574, allocations: 1.3 MB / 1.028 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007829/0.8582, allocations: 237.1 kB / 1.029 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.8583, allocations: 4 kB / 1.029 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000373/0.8587, allocations: 173.9 kB / 1.029 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 2.124e-06/0.8587, allocations: 0 / 1.029 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.0007038/0.8594, allocations: 306.1 kB / 1.029 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.72e-05/0.8595, allocations: 140.5 kB / 1.029 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003947/0.8599, allocations: 361.6 kB / 1.03 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.8599, allocations: 29.7 kB / 1.03 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.8601, allocations: 259.4 kB / 1.03 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.34e-05/0.8602, allocations: 71.39 kB / 1.03 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.573e-05/0.8602, allocations: 8 kB / 1.03 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.8603, allocations: 342.8 kB / 1.03 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.8606, allocations: 96.61 kB / 1.03 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003422/0.8609, allocations: 220 kB / 1.03 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002612/0.8612, allocations: 125.1 kB / 1.031 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.8612, allocations: 0 / 1.031 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006908/0.8619, allocations: 358 kB / 1.031 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007568/0.8627, allocations: 1.138 MB / 1.032 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.8627, allocations: 4 kB / 1.032 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.8627, allocations: 11.88 kB / 1.032 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003016/0.863, allocations: 75.84 kB / 1.032 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/0.863, allocations: 11.98 kB / 1.032 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.8633, allocations: 51.61 kB / 1.032 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/0.8633, allocations: 16 kB / 1.032 GB, free: 5.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.986e-06/0.8634, allocations: 4 kB / 1.032 GB, free: 5.156 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005451/0.8639, allocations: 287.9 kB / 1.032 GB, free: 4.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.8639, allocations: 4 kB / 1.033 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.482e-06/0.8639, allocations: 4 kB / 1.033 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.8642, allocations: 75.89 kB / 1.033 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.8642, allocations: 7.953 kB / 1.033 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.8644, allocations: 53.58 kB / 1.033 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.642e-05/0.8644, allocations: 16 kB / 1.033 GB, free: 4.719 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,mod.uTSup.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.0002568/0.8647, allocations: 237 kB / 1.033 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.8648, allocations: 31.67 kB / 1.033 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005783/0.8653, allocations: 264.8 kB / 1.033 GB, free: 4.184 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.8654, allocations: 4 kB / 1.033 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.8654, allocations: 3.953 kB / 1.033 GB, free: 4.176 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.8654, allocations: 3.984 kB / 1.033 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.8664, allocations: 0.731 MB / 1.034 GB, free: 3.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.8665, allocations: 0 / 1.034 GB, free: 3.387 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.8667, allocations: 51.91 kB / 1.034 GB, free: 3.336 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.8667, allocations: 0 / 1.034 GB, free: 3.336 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.8667, allocations: 3.953 kB / 1.034 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.8667, allocations: 4 kB / 1.034 GB, free: 3.328 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.8667, allocations: 8 kB / 1.034 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007308/0.8674, allocations: 443.3 kB / 1.034 GB, free: 2.871 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-05/0.8675, allocations: 112.6 kB / 1.034 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/0.8676, allocations: 11.98 kB / 1.034 GB, free: 2.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.8678, allocations: 23.94 kB / 1.035 GB, free: 2.707 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.8678, allocations: 7.984 kB / 1.035 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.8679, allocations: 12 kB / 1.035 GB, free: 2.688 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002803/0.8682, allocations: 251.2 kB / 1.035 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8682, allocations: 4 kB / 1.035 GB, free: 2.441 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006111/0.8688, allocations: 135.5 kB / 1.035 GB, free: 2.309 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mod.uTSup.I.y) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.0001481/0.8689, allocations: 107.2 kB / 1.035 GB, free: 2.195 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008836/0.8698, allocations: 393.6 kB / 1.035 GB, free: 1.812 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.8698, allocations: 0 / 1.035 GB, free: 1.812 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003194/0.8702, allocations: 105.5 kB / 1.035 GB, free: 1.711 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/0.8706, allocations: 69.39 kB / 1.036 GB, free: 1.645 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.8718, allocations: 0.7429 MB / 1.036 GB, free: 0.8672 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.8723, allocations: 0.808 MB / 1.037 GB, free: 36 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002528/0.8725, allocations: 55.25 kB / 1.037 GB, free: 15.98 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.094e-05/0.8726, allocations: 27.44 kB / 1.037 GB, free: 15.96 MB / 0.795 GB Notification: Performance of SimCode: time 4.51e-07/0.8726, allocations: 0 / 1.037 GB, free: 15.96 MB / 0.795 GB Notification: Performance of Templates: time 0.007335/0.88, allocations: 3.122 MB / 1.04 GB, free: 12.92 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches