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.315/2.315, allocations: 390.3 MB / 402.8 MB, free: 6.664 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.001088/0.001088, allocations: 179.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 221.3 MB / 0.7915 GB, free: 5.375 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.0008548/0.0008549, allocations: 95.88 kB / 0.9317 GB, free: 5.684 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.017e-05/3.02e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2741, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8724/1.147, allocations: 151.6 MB / 1.367 GB, free: 2.496 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/1.147, allocations: 71.98 kB / 1.367 GB, free: 2.457 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01731/1.164, allocations: 6.051 MB / 1.373 GB, free: 13.26 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.863e-06/1.164, allocations: 0 / 1.373 GB, free: 13.26 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.544e-05/1.164, allocations: 8 kB / 1.373 GB, free: 13.25 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.001379/1.166, allocations: 0.6766 MB / 1.374 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/1.166, allocations: 12.03 kB / 1.374 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001935/1.166, allocations: 54.72 kB / 1.374 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/1.166, allocations: 230.3 kB / 1.374 GB, free: 12.24 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-05/1.166, allocations: 41.69 kB / 1.374 GB, free: 12.21 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/1.167, allocations: 44.62 kB / 1.374 GB, free: 12.18 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009182/1.167, allocations: 446.6 kB / 1.374 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/1.167, allocations: 4 kB / 1.374 GB, free: 11.87 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.924e-05/1.168, allocations: 18.5 kB / 1.374 GB, free: 11.87 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.09e-05/1.168, allocations: 15.92 kB / 1.374 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006776/1.168, allocations: 325.8 kB / 1.375 GB, free: 11.65 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002108/1.17, allocations: 1.291 MB / 1.376 GB, free: 10.57 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005904/1.171, allocations: 353.5 kB / 1.376 GB, free: 10.31 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002822/1.171, allocations: 177.1 kB / 1.376 GB, free: 10.2 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.13e-05/1.171, allocations: 4 kB / 1.376 GB, free: 10.19 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/1.171, allocations: 37.7 kB / 1.376 GB, free: 10.15 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=40): time 4.508e-06/1.171, allocations: 4 kB / 1.376 GB, free: 10.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40): time 0.0006832/1.172, allocations: 317.4 kB / 1.377 GB, free: 9.91 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.759e-05/1.172, allocations: 106.8 kB / 1.377 GB, free: 9.781 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003491/1.173, allocations: 273.6 kB / 1.377 GB, free: 9.562 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.167e-05/1.173, allocations: 33.64 kB / 1.377 GB, free: 9.527 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/1.173, allocations: 211.4 kB / 1.377 GB, free: 9.371 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/1.173, allocations: 111.8 kB / 1.377 GB, free: 9.273 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-05/1.173, allocations: 10.69 kB / 1.377 GB, free: 9.27 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001486/1.173, allocations: 345.2 kB / 1.378 GB, free: 8.938 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/1.173, allocations: 111 kB / 1.378 GB, free: 8.867 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/1.173, allocations: 146.3 kB / 1.378 GB, free: 8.766 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/1.174, allocations: 87.08 kB / 1.378 GB, free: 8.715 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.174, allocations: 0 / 1.378 GB, free: 8.715 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005215/1.174, allocations: 305.4 kB / 1.378 GB, free: 8.488 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/1.174, allocations: 13.55 kB / 1.378 GB, free: 8.477 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/1.174, allocations: 0 / 1.378 GB, free: 8.477 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/1.174, allocations: 7.953 kB / 1.378 GB, free: 8.469 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005379/1.175, allocations: 99.23 kB / 1.379 GB, free: 8.375 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/1.175, allocations: 7.984 kB / 1.379 GB, free: 8.367 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003725/1.175, allocations: 86.75 kB / 1.379 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/1.175, allocations: 11.31 kB / 1.379 GB, free: 8.281 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 0.0001293/1.175, allocations: 128.7 kB / 1.379 GB, free: 8.16 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/1.175, allocations: 35.53 kB / 1.379 GB, free: 8.125 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/1.176, allocations: 43.64 kB / 1.379 GB, free: 8.102 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/1.176, allocations: 11.94 kB / 1.379 GB, free: 8.09 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/1.176, allocations: 0 / 1.379 GB, free: 8.09 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/1.176, allocations: 0 / 1.379 GB, free: 8.09 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006843/1.176, allocations: 483.1 kB / 1.379 GB, free: 7.676 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/1.176, allocations: 0 / 1.379 GB, free: 7.676 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004735/1.177, allocations: 107.4 kB / 1.379 GB, free: 7.574 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.869e-06/1.177, allocations: 7.938 kB / 1.379 GB, free: 7.566 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.287e-05/1.177, allocations: 11.31 kB / 1.379 GB, free: 7.559 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/1.177, allocations: 0 / 1.379 GB, free: 7.559 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/1.177, allocations: 3.953 kB / 1.379 GB, free: 7.555 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007089/1.178, allocations: 0.5894 MB / 1.38 GB, free: 7.027 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-05/1.178, allocations: 112.5 kB / 1.38 GB, free: 6.902 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.847e-05/1.178, allocations: 19.38 kB / 1.38 GB, free: 6.887 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000421/1.178, allocations: 59.08 kB / 1.38 GB, free: 6.836 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001866/1.178, allocations: 62.91 kB / 1.38 GB, free: 6.789 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/1.178, allocations: 11.75 kB / 1.38 GB, free: 6.781 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002093/1.179, allocations: 210.5 kB / 1.38 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.6e-07/1.179, allocations: 0 / 1.38 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004516/1.179, allocations: 85.94 kB / 1.381 GB, free: 6.539 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.0002107/1.179, allocations: 122.4 kB / 1.381 GB, free: 6.418 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005892/1.18, allocations: 281.7 kB / 1.381 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/1.18, allocations: 0 / 1.381 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003649/1.18, allocations: 195.7 kB / 1.381 GB, free: 6.102 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/1.181, allocations: 35.67 kB / 1.381 GB, free: 6.082 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/1.182, allocations: 0.4974 MB / 1.382 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005443/1.182, allocations: 0.8197 MB / 1.382 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002342/1.183, allocations: 38.06 kB / 1.382 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/1.183, allocations: 35.11 kB / 1.383 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of SimCode: time 3.4e-07/1.183, allocations: 0 / 1.383 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of Templates: time 0.009031/1.192, allocations: 3.787 MB / 1.386 GB, free: 1 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