Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.00154/0.00154, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.373/1.373, allocations: 222.9 MB / 240.6 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.477/2.477, allocations: 390.2 MB / 0.665 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 71.89 kB / 0.8128 GB, free: 14.72 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7584/0.7601, allocations: 140.4 MB / 0.9498 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002738/0.7629, allocations: 1.16 MB / 0.951 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.764, allocations: 1.008 MB / 0.9519 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.931e-05/0.7641, allocations: 2.75 kB / 0.9519 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.937e-05/0.7641, allocations: 15.84 kB / 0.952 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.7643, allocations: 14.62 kB / 0.952 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.7645, allocations: 74.88 kB / 0.952 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.7647, allocations: 212.9 kB / 0.9522 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002601/0.7649, allocations: 131.1 kB / 0.9524 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.7651, allocations: 85.19 kB / 0.9525 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.7652, allocations: 95.12 kB / 0.9525 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.2e-05/0.7653, allocations: 22.81 kB / 0.9526 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.749e-05/0.7653, allocations: 22.81 kB / 0.9526 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.151e-05/0.7654, allocations: 57.36 kB / 0.9526 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.424e-05/0.7654, allocations: 97.69 kB / 0.9527 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.7656, allocations: 219.9 kB / 0.9529 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7656, allocations: 0 / 0.9529 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.382e-06/0.7657, allocations: 0 / 0.9529 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.7657, allocations: 1.219 kB / 0.9529 GB, free: 6.723 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0006503/0.7663, allocations: 490.2 kB / 0.9534 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.7664, allocations: 10.34 kB / 0.9534 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.274e-05/0.7664, allocations: 26.66 kB / 0.9535 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004541/0.7669, allocations: 279.9 kB / 0.9537 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.7669, allocations: 17.34 kB / 0.9537 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.767, allocations: 16.72 kB / 0.9537 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004065/0.7674, allocations: 191.9 kB / 0.9539 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.7674, allocations: 0 / 0.9539 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.7674, allocations: 6.5 kB / 0.9539 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.7674, allocations: 4.875 kB / 0.9539 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003739/0.7678, allocations: 157.5 kB / 0.9541 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007357/0.7686, allocations: 0.5643 MB / 0.9546 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.7689, allocations: 127.4 kB / 0.9548 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.769, allocations: 63.84 kB / 0.9548 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.7691, allocations: 9.5 kB / 0.9548 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.7691, allocations: 39.56 kB / 0.9549 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.142e-06/0.7691, allocations: 0 / 0.9549 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0005955/0.7697, allocations: 201.7 kB / 0.9551 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.7698, allocations: 54.47 kB / 0.9551 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.7699, allocations: 175.9 kB / 0.9553 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.7699, allocations: 29.7 kB / 0.9553 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.318e-05/0.77, allocations: 142.5 kB / 0.9555 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.77, allocations: 37.56 kB / 0.9555 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.5e-05/0.7701, allocations: 51.94 kB / 0.9555 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.443e-05/0.7702, allocations: 326.1 kB / 0.9558 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.7703, allocations: 51.86 kB / 0.9559 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.7705, allocations: 107.7 kB / 0.956 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003077/0.7709, allocations: 139 kB / 0.9561 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.7709, allocations: 0 / 0.9561 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003932/0.7713, allocations: 183.2 kB / 0.9563 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.7713, allocations: 8.906 kB / 0.9563 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.7713, allocations: 5.125 kB / 0.9563 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.7713, allocations: 2.469 kB / 0.9563 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.7715, allocations: 34.88 kB / 0.9564 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.7715, allocations: 2.938 kB / 0.9564 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.7716, allocations: 23.36 kB / 0.9564 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.7717, allocations: 5.688 kB / 0.9564 GB, free: 3.855 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.y,actAirSet.warUpMod.y,actAirSet.setBacMod.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001033/0.7718, allocations: 142.9 kB / 0.9565 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.7718, allocations: 9.875 kB / 0.9565 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.185e-05/0.7719, allocations: 23.77 kB / 0.9566 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.7719, allocations: 2.312 kB / 0.9566 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.7719, allocations: 0 / 0.9566 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.7719, allocations: 1.438 kB / 0.9566 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.7722, allocations: 265.7 kB / 0.9568 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.7722, allocations: 4 kB / 0.9568 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.7723, allocations: 19.45 kB / 0.9568 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.7723, allocations: 5.312 kB / 0.9568 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.7723, allocations: 5.25 kB / 0.9568 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.7723, allocations: 0 / 0.9568 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.7723, allocations: 13.28 kB / 0.9569 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003504/0.7727, allocations: 253.6 kB / 0.9571 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.447e-05/0.7727, allocations: 96.2 kB / 0.9572 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.7728, allocations: 7.938 kB / 0.9572 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.7729, allocations: 11.48 kB / 0.9572 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.541e-05/0.773, allocations: 22.62 kB / 0.9572 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.773, allocations: 3.531 kB / 0.9572 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.404e-05/0.7731, allocations: 119.4 kB / 0.9573 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7731, allocations: 0 / 0.9573 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002719/0.7733, allocations: 39.09 kB / 0.9574 GB, free: 2.965 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0001309/0.7735, allocations: 107.4 kB / 0.9575 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004331/0.7739, allocations: 144.8 kB / 0.9576 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7739, allocations: 0 / 0.9576 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.7741, allocations: 71.12 kB / 0.9577 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.7745, allocations: 27.53 kB / 0.9577 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000645/0.7751, allocations: 423.2 kB / 0.9581 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001711/0.7753, allocations: 0.7278 MB / 0.9588 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.72e-05/0.7754, allocations: 23.38 kB / 0.9589 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of SimCode: time 1.403e-06/0.7754, allocations: 0 / 0.9589 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of Templates: time 0.003587/0.779, allocations: 2.069 MB / 0.9609 GB, free: 0.6211 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches