Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001087/0.001087, allocations: 197.5 kB / 16.26 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.681/2.681, allocations: 437 MB / 0.71 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.91 kB / 0.8688 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8119/0.8131, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides): time 0.003431/0.8166, allocations: 1.786 MB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001575/0.8182, allocations: 1.135 MB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001759/0.8184, allocations: 8 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001169/0.8185, allocations: 35.58 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001777/0.8187, allocations: 23.73 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.8191, allocations: 163.8 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004402/0.8196, allocations: 496.3 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004304/0.82, allocations: 284.5 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002354/0.8203, allocations: 203.2 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.8205, allocations: 238.9 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.906e-05/0.8206, allocations: 56 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.348e-05/0.8207, allocations: 56 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.8208, allocations: 131.6 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.821, allocations: 230.7 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005865/0.8216, allocations: 0.6559 MB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.8216, allocations: 4 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.328e-06/0.8216, allocations: 0 / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.271e-05/0.8216, allocations: 3.938 kB / 1.022 GB, free: 13.21 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.00139/0.823, allocations: 0.7601 MB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.8231, allocations: 8.031 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.8232, allocations: 56.27 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.8244, allocations: 488 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.475e-05/0.8244, allocations: 41.31 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.799e-05/0.8245, allocations: 44.38 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.8256, allocations: 0.4984 MB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.8256, allocations: 192 / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.383e-05/0.8257, allocations: 19.94 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.8257, allocations: 12 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.8269, allocations: 425.9 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/0.8286, allocations: 1.235 MB / 1.026 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008968/0.8295, allocations: 409.3 kB / 1.026 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005726/0.8301, allocations: 214.4 kB / 1.026 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.67e-05/0.8301, allocations: 11.98 kB / 1.026 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.8302, allocations: 42.5 kB / 1.026 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=40): time 2.104e-06/0.8302, allocations: 0 / 1.026 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of matching and sorting (n=40): time 0.001901/0.8321, allocations: 0.5775 MB / 1.027 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.238e-05/0.8322, allocations: 110.8 kB / 1.027 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002821/0.8324, allocations: 274.8 kB / 1.027 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/0.8325, allocations: 29.7 kB / 1.027 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.8327, allocations: 224.2 kB / 1.027 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.8328, allocations: 114.3 kB / 1.028 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.8329, allocations: 94.09 kB / 1.028 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.8331, allocations: 350.8 kB / 1.028 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005115/0.8336, allocations: 160.7 kB / 1.028 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005457/0.8342, allocations: 249.6 kB / 1.028 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.8352, allocations: 385 kB / 1.029 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.8352, allocations: 0 / 1.029 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001222/0.8365, allocations: 469.9 kB / 1.029 GB, free: 5.637 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.8365, allocations: 8 kB / 1.029 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.8365, allocations: 0 / 1.029 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.8365, allocations: 8 kB / 1.029 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004746/0.837, allocations: 91.86 kB / 1.029 GB, free: 5.531 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.837, allocations: 12.12 kB / 1.029 GB, free: 5.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003159/0.8374, allocations: 71.62 kB / 1.029 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.8374, allocations: 12 kB / 1.029 GB, free: 5.438 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 23 (reaToInt2.y,ove.or1.y,ove.forMinFlo1.y,ove.or3.y,ove.forMinFlo.y,ove.forCooMax.y,ove.forZerFlo.y,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.y,reaToInt3.y,ove.or4.y,ove.intEqu2.y,ove.intEqu1.y,ove.conInt7.y,ove.conInt6.y,ove.conInt4.y,ove.conInt3.y,ove.conInt5.y,ove.conInt2.y,ove.conInt1.y,ove.conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002959/0.8377, allocations: 177.7 kB / 1.03 GB, free: 5.254 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.203e-05/0.8378, allocations: 35.61 kB / 1.03 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.414e-05/0.8379, allocations: 42.2 kB / 1.03 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.8379, allocations: 4 kB / 1.03 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.8379, allocations: 3.938 kB / 1.03 GB, free: 5.168 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.8379, allocations: 3.984 kB / 1.03 GB, free: 5.164 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006167/0.8386, allocations: 457.1 kB / 1.03 GB, free: 4.668 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.8386, allocations: 4 kB / 1.03 GB, free: 4.664 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003907/0.839, allocations: 79.86 kB / 1.03 GB, free: 4.586 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.839, allocations: 4 kB / 1.03 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.513e-05/0.839, allocations: 12 kB / 1.03 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.839, allocations: 7.922 kB / 1.03 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/0.839, allocations: 7.938 kB / 1.03 GB, free: 4.555 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.8403, allocations: 0.6509 MB / 1.031 GB, free: 3.891 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.657e-05/0.8404, allocations: 116.6 kB / 1.031 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.458e-05/0.8404, allocations: 15.94 kB / 1.031 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000346/0.8408, allocations: 35.95 kB / 1.031 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/0.841, allocations: 63.86 kB / 1.031 GB, free: 3.645 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/0.841, allocations: 16 kB / 1.031 GB, free: 3.629 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001532/0.8411, allocations: 178 kB / 1.031 GB, free: 3.457 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.453e-06/0.8412, allocations: 0 / 1.031 GB, free: 3.457 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004522/0.8416, allocations: 91.53 kB / 1.031 GB, free: 3.367 MB / 0.7794 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.forZerFlo.y,ove.forCooMax.y,ove.forMinFlo.y,ove.or3.y,ove.forMinFlo1.y,ove.or1.y,reaToInt2.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y,ove.intEqu1.y,ove.intEqu2.y,ove.or4.y,reaToInt3.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001721/0.8418, allocations: 120.7 kB / 1.031 GB, free: 3.242 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001199/0.843, allocations: 423.4 kB / 1.032 GB, free: 2.828 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.843, allocations: 0 / 1.032 GB, free: 2.828 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006228/0.8436, allocations: 248.1 kB / 1.032 GB, free: 2.586 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005481/0.8442, allocations: 38.09 kB / 1.032 GB, free: 2.551 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.8455, allocations: 0.8578 MB / 1.033 GB, free: 1.668 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.8458, allocations: 0.8153 MB / 1.034 GB, free: 0.8242 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000258/0.8461, allocations: 50.95 kB / 1.034 GB, free: 0.7734 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.8462, allocations: 43.44 kB / 1.034 GB, free: 0.7305 MB / 0.7794 GB Notification: Performance of SimCode: time 5.21e-07/0.8462, allocations: 0 / 1.034 GB, free: 0.7305 MB / 0.7794 GB Notification: Performance of Templates: time 0.00787/0.8541, allocations: 3.54 MB / 1.037 GB, free: 13.26 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Overrides.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches