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.241/2.241, allocations: 390.5 MB / 398 MB, free: 10.94 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.001507/0.001506, allocations: 180.8 kB / 491.2 MB, free: 1.551 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.697/1.697, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.001025/0.001025, allocations: 95.81 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.993e-05/1.99e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2967, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9914/1.288, allocations: 150.9 MB / 1.36 GB, free: 17.68 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/1.288, allocations: 75.42 kB / 1.36 GB, free: 17.68 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01545/1.304, allocations: 6.014 MB / 1.366 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.452e-06/1.304, allocations: 0 / 1.366 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.024e-05/1.304, allocations: 11.69 kB / 1.366 GB, free: 33.02 MB / 0.8386 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.001122/1.305, allocations: 0.674 MB / 1.366 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/1.305, allocations: 7.719 kB / 1.366 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.726e-05/1.305, allocations: 56.53 kB / 1.366 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/1.305, allocations: 236.4 kB / 1.367 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/1.306, allocations: 23.47 kB / 1.367 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.131e-05/1.306, allocations: 26.94 kB / 1.367 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005055/1.306, allocations: 293.2 kB / 1.367 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005978/1.307, allocations: 379.1 kB / 1.367 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/1.307, allocations: 3.938 kB / 1.367 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/1.307, allocations: 3.844 kB / 1.367 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/1.307, allocations: 11.56 kB / 1.367 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/1.308, allocations: 1.194 MB / 1.369 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003826/1.309, allocations: 336.1 kB / 1.369 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/1.309, allocations: 162.3 kB / 1.369 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.846e-05/1.309, allocations: 7.766 kB / 1.369 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/1.309, allocations: 36.23 kB / 1.369 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=40): time 1.663e-06/1.309, allocations: 4 kB / 1.369 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40): time 0.0004991/1.309, allocations: 285.7 kB / 1.369 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/1.309, allocations: 109.1 kB / 1.369 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/1.31, allocations: 221.7 kB / 1.37 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/1.31, allocations: 29.52 kB / 1.37 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.793e-05/1.31, allocations: 209 kB / 1.37 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.795e-05/1.31, allocations: 107.5 kB / 1.37 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.02e-05/1.31, allocations: 0 / 1.37 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.029e-05/1.31, allocations: 345.1 kB / 1.37 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/1.31, allocations: 99.41 kB / 1.37 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/1.31, allocations: 138.3 kB / 1.371 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/1.31, allocations: 86.45 kB / 1.371 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/1.31, allocations: 0 / 1.371 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003633/1.311, allocations: 276.2 kB / 1.371 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/1.311, allocations: 7.688 kB / 1.371 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/1.311, allocations: 0 / 1.371 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/1.311, allocations: 7.812 kB / 1.371 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004659/1.311, allocations: 106.5 kB / 1.371 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/1.311, allocations: 11.92 kB / 1.371 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002892/1.312, allocations: 63.28 kB / 1.371 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/1.312, allocations: 10.72 kB / 1.371 GB, free: 30.59 MB / 0.8386 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 () * 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 9.787e-05/1.312, allocations: 116.1 kB / 1.371 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.957e-05/1.312, allocations: 33.38 kB / 1.371 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.695e-05/1.312, allocations: 34.91 kB / 1.371 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/1.312, allocations: 3.844 kB / 1.371 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/1.312, allocations: 0 / 1.371 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/1.312, allocations: 10.95 kB / 1.371 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004468/1.312, allocations: 400.8 kB / 1.372 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.312, allocations: 3.844 kB / 1.372 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004188/1.313, allocations: 101.3 kB / 1.372 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/1.313, allocations: 6.062 kB / 1.372 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/1.313, allocations: 0 / 1.372 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/1.313, allocations: 7.812 kB / 1.372 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/1.313, allocations: 0 / 1.372 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004724/1.313, allocations: 0.5565 MB / 1.372 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.181e-05/1.313, allocations: 104.3 kB / 1.372 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.216e-05/1.313, allocations: 10.69 kB / 1.372 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/1.314, allocations: 47.72 kB / 1.372 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/1.314, allocations: 71.2 kB / 1.373 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/1.314, allocations: 17.16 kB / 1.373 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001059/1.314, allocations: 153.8 kB / 1.373 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.314, allocations: 0 / 1.373 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004062/1.315, allocations: 77.09 kB / 1.373 GB, free: 29.72 MB / 0.8386 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 () * 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.0001616/1.315, allocations: 118.3 kB / 1.373 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003819/1.315, allocations: 275.2 kB / 1.373 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.315, allocations: 0 / 1.373 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002468/1.315, allocations: 183.7 kB / 1.373 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/1.316, allocations: 32.52 kB / 1.373 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007882/1.317, allocations: 485.6 kB / 1.374 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/1.317, allocations: 0.8199 MB / 1.375 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000178/1.317, allocations: 39.3 kB / 1.375 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/1.317, allocations: 28.5 kB / 1.375 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.317, allocations: 3.969 kB / 1.375 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of Templates: time 0.006014/1.323, allocations: 3.361 MB / 1.378 GB, free: 28.48 MB / 0.8386 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