Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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 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.DualDuctSnapActing.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_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 102 kB / 16.27 MB, free: 5.969 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.001718/0.001718, allocations: 190.4 kB / 17.2 MB, free: 5.594 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.467/1.467, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.626/2.626, allocations: 437.1 MB / 0.7111 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002069, allocations: 71.39 kB / 0.87 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3323, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002673/0.335, allocations: 1.127 MB / 1.019 GB, free: 9.504 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.3364, allocations: 1.006 MB / 1.02 GB, free: 8.484 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.3365, allocations: 4 kB / 1.02 GB, free: 8.48 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 8.44e-05/0.3366, allocations: 23.67 kB / 1.02 GB, free: 8.457 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000154/0.3368, allocations: 27.73 kB / 1.02 GB, free: 8.43 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.3371, allocations: 79.84 kB / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002536/0.3373, allocations: 220.2 kB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002635/0.3376, allocations: 121.1 kB / 1.021 GB, free: 8.012 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.3378, allocations: 87.58 kB / 1.021 GB, free: 7.926 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.3379, allocations: 99.55 kB / 1.021 GB, free: 7.828 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.786e-05/0.338, allocations: 27.98 kB / 1.021 GB, free: 7.801 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 3.716e-05/0.338, allocations: 24 kB / 1.021 GB, free: 7.777 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.133e-05/0.3381, allocations: 43.84 kB / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.3382, allocations: 99.47 kB / 1.021 GB, free: 7.637 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.3385, allocations: 279.3 kB / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3385, allocations: 0 / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3385, allocations: 0 / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.3385, allocations: 0 / 1.021 GB, free: 7.363 MB / 0.795 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.000771/0.3393, allocations: 499 kB / 1.022 GB, free: 6.828 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3394, allocations: 8.922 kB / 1.022 GB, free: 6.82 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.887e-05/0.3394, allocations: 24.66 kB / 1.022 GB, free: 6.797 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005051/0.3399, allocations: 276.8 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.34, allocations: 16.81 kB / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.34, allocations: 16.38 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004166/0.3404, allocations: 191.8 kB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.3405, allocations: 3.938 kB / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.3405, allocations: 8 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.3405, allocations: 4 kB / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004214/0.3409, allocations: 145.7 kB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008694/0.3418, allocations: 0.5725 MB / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003546/0.3422, allocations: 130.6 kB / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.3424, allocations: 60.83 kB / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.3424, allocations: 0 / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.3424, allocations: 42.55 kB / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 1.042e-06/0.3424, allocations: 0 / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0006575/0.3431, allocations: 201.3 kB / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.3432, allocations: 59.34 kB / 1.023 GB, free: 4.957 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.3433, allocations: 175.8 kB / 1.024 GB, free: 4.777 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.3434, allocations: 29.7 kB / 1.024 GB, free: 4.742 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.92e-05/0.3435, allocations: 140.1 kB / 1.024 GB, free: 4.598 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.3435, allocations: 39.52 kB / 1.024 GB, free: 4.559 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.066e-05/0.3436, allocations: 53.69 kB / 1.024 GB, free: 4.5 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.3438, allocations: 330.8 kB / 1.024 GB, free: 4.168 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.344, allocations: 47.97 kB / 1.024 GB, free: 4.121 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.3442, allocations: 94.81 kB / 1.024 GB, free: 4.012 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/0.3445, allocations: 143 kB / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3445, allocations: 0 / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000467/0.345, allocations: 185.3 kB / 1.025 GB, free: 3.668 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.345, allocations: 8 kB / 1.025 GB, free: 3.66 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.345, allocations: 0 / 1.025 GB, free: 3.66 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.3451, allocations: 4 kB / 1.025 GB, free: 3.656 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.3453, allocations: 35.91 kB / 1.025 GB, free: 3.621 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.3453, allocations: 4.094 kB / 1.025 GB, free: 3.617 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.3454, allocations: 27.83 kB / 1.025 GB, free: 3.59 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.3454, allocations: 4 kB / 1.025 GB, free: 3.586 MB / 0.795 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.0001467/0.3456, allocations: 141.8 kB / 1.025 GB, free: 3.438 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.944e-05/0.3456, allocations: 11.81 kB / 1.025 GB, free: 3.426 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.221e-05/0.3457, allocations: 25.45 kB / 1.025 GB, free: 3.406 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.3457, allocations: 3.938 kB / 1.025 GB, free: 3.402 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3457, allocations: 0 / 1.025 GB, free: 3.402 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.3457, allocations: 8 kB / 1.025 GB, free: 3.395 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003201/0.346, allocations: 261.5 kB / 1.025 GB, free: 3.09 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.3461, allocations: 4 kB / 1.025 GB, free: 3.086 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.3462, allocations: 27.91 kB / 1.025 GB, free: 3.059 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3462, allocations: 0 / 1.025 GB, free: 3.059 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.3463, allocations: 4 kB / 1.025 GB, free: 3.055 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3463, allocations: 3.938 kB / 1.025 GB, free: 3.051 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.3463, allocations: 4 kB / 1.025 GB, free: 3.047 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004666/0.3467, allocations: 257.8 kB / 1.025 GB, free: 2.781 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.158e-05/0.3468, allocations: 88.92 kB / 1.025 GB, free: 2.676 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.3468, allocations: 0 / 1.025 GB, free: 2.676 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.347, allocations: 19.92 kB / 1.025 GB, free: 2.656 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.938e-05/0.3471, allocations: 23.91 kB / 1.025 GB, free: 2.633 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.3471, allocations: 4 kB / 1.025 GB, free: 2.629 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001124/0.3472, allocations: 123.2 kB / 1.026 GB, free: 2.508 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3472, allocations: 0 / 1.026 GB, free: 2.508 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002788/0.3475, allocations: 39.83 kB / 1.026 GB, free: 2.469 MB / 0.795 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.0001475/0.3476, allocations: 103.2 kB / 1.026 GB, free: 2.359 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004601/0.3481, allocations: 152 kB / 1.026 GB, free: 2.211 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3481, allocations: 0 / 1.026 GB, free: 2.211 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.3483, allocations: 75.89 kB / 1.026 GB, free: 2.137 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.3487, allocations: 25.19 kB / 1.026 GB, free: 2.117 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007461/0.3495, allocations: 348.4 kB / 1.026 GB, free: 1.746 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.3499, allocations: 0.7319 MB / 1.027 GB, free: 0.9883 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.064e-05/0.35, allocations: 23.44 kB / 1.027 GB, free: 0.9688 MB / 0.795 GB Notification: Performance of SimCode: time 3.3e-07/0.35, allocations: 0 / 1.027 GB, free: 0.9688 MB / 0.795 GB Notification: Performance of Templates: time 0.004842/0.3549, allocations: 2.07 MB / 1.029 GB, free: 14.91 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches