Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveFloSet|ove.VActSet_flow|ove.VMin_flow|ove.VCooMax_flow|ove.VSet_flow|ove.oveCooDamPos|ove.uCooDam|ove.yCooDam|ove.oveHeaDamPos|ove.uHeaDam|ove.yHeaDam",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveFloSet|ove.VActSet_flow|ove.VMin_flow|ove.VCooMax_flow|ove.VSet_flow|ove.oveCooDamPos|ove.uCooDam|ove.yCooDam|ove.oveHeaDamPos|ove.uHeaDam|ove.yHeaDam",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.28/2.28, allocations: 393.5 MB / 408.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 180 kB / 0.4902 GB, free: 2.242 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.593/1.593, allocations: 223.1 MB / 0.7992 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008952/0.0008951, allocations: 92.2 kB / 0.9396 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003965/0.0003965, allocations: 9.797 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.309, allocations: 143 MB / 1.229 GB, free: 85.43 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2145/0.5235, allocations: 151.7 MB / 1.377 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/0.5238, allocations: 71.95 kB / 1.377 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01619/0.54, allocations: 6.058 MB / 1.383 GB, free: 7.414 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.166e-06/0.5401, allocations: 3.938 kB / 1.383 GB, free: 7.41 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.659e-05/0.5401, allocations: 8 kB / 1.383 GB, free: 7.402 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001411/0.5415, allocations: 0.7101 MB / 1.384 GB, free: 6.645 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/0.5416, allocations: 12.5 kB / 1.384 GB, free: 6.633 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.5417, allocations: 55.34 kB / 1.384 GB, free: 6.578 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.5421, allocations: 242.2 kB / 1.384 GB, free: 6.301 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.898e-05/0.5421, allocations: 44.94 kB / 1.384 GB, free: 6.258 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.845e-05/0.5422, allocations: 44 kB / 1.384 GB, free: 6.215 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.5434, allocations: 0.5447 MB / 1.385 GB, free: 5.652 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.5434, allocations: 0 / 1.385 GB, free: 5.652 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.517e-05/0.5435, allocations: 20 kB / 1.385 GB, free: 5.633 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.5435, allocations: 16 kB / 1.385 GB, free: 5.617 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.5448, allocations: 0.5177 MB / 1.386 GB, free: 5.102 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/0.5468, allocations: 1.294 MB / 1.387 GB, free: 3.746 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009763/0.5478, allocations: 469.1 kB / 1.387 GB, free: 3.262 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.871e-05/0.5478, allocations: 8 kB / 1.387 GB, free: 3.254 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.5478, allocations: 42.55 kB / 1.387 GB, free: 3.203 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=40): time 2.495e-06/0.5478, allocations: 0 / 1.387 GB, free: 3.203 MB / 0.8855 GB Notification: Performance of matching and sorting (n=40): time 0.001938/0.5498, allocations: 0.7331 MB / 1.388 GB, free: 2.465 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.339e-05/0.5499, allocations: 106.8 kB / 1.388 GB, free: 2.336 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003035/0.5502, allocations: 279.5 kB / 1.388 GB, free: 2.059 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.738e-05/0.5502, allocations: 33.7 kB / 1.388 GB, free: 2.02 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.5504, allocations: 204.6 kB / 1.389 GB, free: 1.812 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.5505, allocations: 122.3 kB / 1.389 GB, free: 1.691 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.245e-05/0.5506, allocations: 8 kB / 1.389 GB, free: 1.684 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.5507, allocations: 338.8 kB / 1.389 GB, free: 1.344 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005521/0.5513, allocations: 212.5 kB / 1.389 GB, free: 1.133 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005602/0.5519, allocations: 239.7 kB / 1.389 GB, free: 0.8906 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005306/0.5524, allocations: 205.1 kB / 1.39 GB, free: 0.6914 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5524, allocations: 0 / 1.39 GB, free: 0.6914 MB / 0.8855 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001246/0.5537, allocations: 0.5056 MB / 1.39 GB, free: 184 kB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.5537, allocations: 4 kB / 1.39 GB, free: 180 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.5537, allocations: 4 kB / 1.39 GB, free: 176 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.5537, allocations: 3.953 kB / 1.39 GB, free: 172 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000522/0.5543, allocations: 107.8 kB / 1.39 GB, free: 64 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.5543, allocations: 4 kB / 1.39 GB, free: 60 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000363/0.5547, allocations: 71.69 kB / 1.39 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.5547, allocations: 15.94 kB / 1.39 GB, free: 15.97 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 (ove.oveFloSet,ove.forZerFlo.y,ove.forMinFlo.y,ove.cooMax.u,ove.forMinFlo1.y,ove.or1.u1,ove.or1.y,ove.oveCooDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y,ove.oveHeaDamPos,ove.intEqu2.y,ove.cloDam1.u,ove.or4.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.0002249/0.5549, allocations: 165.8 kB / 1.391 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.509e-05/0.555, allocations: 35.62 kB / 1.391 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.993e-05/0.5551, allocations: 50.28 kB / 1.391 GB, free: 15.72 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.5551, allocations: 4 kB / 1.391 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.5552, allocations: 3.953 kB / 1.391 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.5552, allocations: 3.984 kB / 1.391 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006438/0.5558, allocations: 481 kB / 1.391 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.5558, allocations: 4 kB / 1.391 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004437/0.5563, allocations: 103.9 kB / 1.391 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.5563, allocations: 0 / 1.391 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/0.5563, allocations: 11.98 kB / 1.391 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.5563, allocations: 0 / 1.391 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5564, allocations: 4 kB / 1.391 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.5577, allocations: 0.789 MB / 1.392 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 9.412e-05/0.5578, allocations: 120.5 kB / 1.392 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.395e-05/0.5579, allocations: 7.953 kB / 1.392 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004056/0.5583, allocations: 63.94 kB / 1.392 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.5584, allocations: 59.92 kB / 1.392 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.797e-05/0.5585, allocations: 15.98 kB / 1.392 GB, free: 13.97 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002148/0.5587, allocations: 203.1 kB / 1.392 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5587, allocations: 0 / 1.392 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004176/0.5591, allocations: 79.83 kB / 1.392 GB, free: 13.7 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 (ove.oveFloSet,ove.forZerFlo.y,ove.forMinFlo.y,ove.cooMax.u,ove.forMinFlo1.y,ove.or1.u1,ove.or1.y,ove.oveCooDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y,ove.oveHeaDamPos,ove.intEqu2.y,ove.cloDam1.u,ove.or4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001999/0.5593, allocations: 128.6 kB / 1.393 GB, free: 13.56 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001284/0.5606, allocations: 0.4895 MB / 1.393 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5606, allocations: 0 / 1.393 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0006865/0.5613, allocations: 296.1 kB / 1.393 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/0.5618, allocations: 40.8 kB / 1.393 GB, free: 12.74 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.5632, allocations: 0.816 MB / 1.394 GB, free: 11.89 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.5635, allocations: 0.8236 MB / 1.395 GB, free: 11.04 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002014/0.5638, allocations: 34.28 kB / 1.395 GB, free: 11 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.5639, allocations: 31.42 kB / 1.395 GB, free: 10.97 MB / 0.9011 GB Notification: Performance of SimCode: time 4.11e-07/0.5639, allocations: 3.938 kB / 1.395 GB, free: 10.96 MB / 0.9011 GB Notification: Performance of Templates: time 0.007571/0.5715, allocations: 3.758 MB / 1.399 GB, free: 7.277 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Overrides.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches