Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008908/0.0008908, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 180.4 kB / 16.92 MB, free: 6.652 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.555/1.555, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.57/2.57, allocations: 390.9 MB / 0.667 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003663/0.0003664, allocations: 12 kB / 0.8167 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7507/0.751, allocations: 142.4 MB / 0.9558 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.001495/0.7526, allocations: 0.9677 MB / 0.9567 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.7539, allocations: 1.056 MB / 0.9577 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.7541, allocations: 4.656 kB / 0.9577 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.7542, allocations: 20.86 kB / 0.9578 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.926e-05/0.7543, allocations: 21.62 kB / 0.9578 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002622/0.7546, allocations: 98.31 kB / 0.9579 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002721/0.7548, allocations: 263 kB / 0.9581 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002938/0.7551, allocations: 161.2 kB / 0.9583 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.7553, allocations: 81.38 kB / 0.9584 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.7554, allocations: 80.34 kB / 0.9584 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.553e-05/0.7555, allocations: 9.938 kB / 0.9584 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.625e-05/0.7555, allocations: 7.719 kB / 0.9585 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.861e-05/0.7556, allocations: 35.2 kB / 0.9585 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.849e-05/0.7557, allocations: 123 kB / 0.9586 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.7559, allocations: 292.6 kB / 0.9589 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7559, allocations: 1.375 kB / 0.9589 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7559, allocations: 0 / 0.9589 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.7559, allocations: 0 / 0.9589 GB, free: 5.199 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007101/0.7566, allocations: 0.5109 MB / 0.9594 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.7567, allocations: 9.688 kB / 0.9594 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.509e-05/0.7567, allocations: 26.69 kB / 0.9594 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004692/0.7572, allocations: 324.2 kB / 0.9597 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/0.7573, allocations: 19.22 kB / 0.9597 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.828e-05/0.7573, allocations: 23.41 kB / 0.9598 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004591/0.7578, allocations: 233.9 kB / 0.96 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.7578, allocations: 7.938 kB / 0.96 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.7578, allocations: 9.812 kB / 0.96 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.7578, allocations: 7.156 kB / 0.96 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004258/0.7583, allocations: 186.4 kB / 0.9602 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008806/0.7592, allocations: 0.6809 MB / 0.9609 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003888/0.7596, allocations: 148.8 kB / 0.961 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.7597, allocations: 78.27 kB / 0.9611 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.7598, allocations: 5.359 kB / 0.9611 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.7598, allocations: 31.94 kB / 0.9611 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.383e-06/0.7598, allocations: 0 / 0.9611 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.0006288/0.7604, allocations: 241 kB / 0.9613 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.7605, allocations: 53.56 kB / 0.9614 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.7607, allocations: 215.9 kB / 0.9616 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.7607, allocations: 31.73 kB / 0.9616 GB, free: 3 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.398e-05/0.7608, allocations: 161.4 kB / 0.9618 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.7608, allocations: 54.36 kB / 0.9618 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-05/0.7609, allocations: 33.67 kB / 0.9619 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.315e-05/0.7609, allocations: 334.7 kB / 0.9622 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.7611, allocations: 74.67 kB / 0.9623 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.7613, allocations: 118.2 kB / 0.9624 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003633/0.7617, allocations: 183 kB / 0.9625 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.7617, allocations: 1 kB / 0.9625 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004809/0.7622, allocations: 232.6 kB / 0.9628 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.7622, allocations: 5.562 kB / 0.9628 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.7623, allocations: 1.812 kB / 0.9628 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.7623, allocations: 3 kB / 0.9628 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.7625, allocations: 46.69 kB / 0.9628 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.7625, allocations: 6.781 kB / 0.9628 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.7626, allocations: 24.3 kB / 0.9628 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.7627, allocations: 11.69 kB / 0.9629 GB, free: 2.031 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.gre.greHys.y,$PRE.actAirSet.gre.greHys.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 (25): * Single equations (assignments): 25 * 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.000151/0.7628, allocations: 149.1 kB / 0.963 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.532e-05/0.7629, allocations: 24.41 kB / 0.963 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.061e-05/0.7629, allocations: 25.66 kB / 0.963 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.7629, allocations: 1.562 kB / 0.963 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.7629, allocations: 1.031 kB / 0.9631 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.763, allocations: 3.984 kB / 0.9631 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/0.7633, allocations: 301.3 kB / 0.9633 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.7633, allocations: 0 / 0.9633 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.7634, allocations: 27.5 kB / 0.9634 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.7634, allocations: 1.094 kB / 0.9634 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.7634, allocations: 1.156 kB / 0.9634 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.7635, allocations: 5.188 kB / 0.9634 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.7635, allocations: 3.938 kB / 0.9634 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004199/0.7639, allocations: 281.2 kB / 0.9636 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.576e-05/0.7639, allocations: 101.3 kB / 0.9637 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.764, allocations: 1.469 kB / 0.9637 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.7641, allocations: 18.39 kB / 0.9638 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.754e-05/0.7642, allocations: 21.88 kB / 0.9638 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.7642, allocations: 11.7 kB / 0.9638 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.62e-05/0.7643, allocations: 141.4 kB / 0.9639 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7643, allocations: 0 / 0.9639 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002847/0.7646, allocations: 48.91 kB / 0.964 GB, free: 1.078 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: 9 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.gre.greHys.y,reaToInt2.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001343/0.7647, allocations: 113.4 kB / 0.9641 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004404/0.7652, allocations: 173 kB / 0.9642 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.7652, allocations: 0 / 0.9642 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.7654, allocations: 81.89 kB / 0.9643 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.7658, allocations: 34.62 kB / 0.9644 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007184/0.7665, allocations: 0.5033 MB / 0.9649 GB, free: 468 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.7668, allocations: 0.7431 MB / 0.9656 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.301e-05/0.7669, allocations: 32.52 kB / 0.9656 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.7669, allocations: 0 / 0.9656 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of Templates: time 0.004885/0.7717, allocations: 2.594 MB / 0.9681 GB, free: 14.39 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches