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.001267/0.001267, allocations: 103.2 kB / 16.27 MB, free: 6 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.001337/0.001337, allocations: 194.2 kB / 17.2 MB, free: 5.609 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.383/1.383, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.781/2.781, allocations: 437 MB / 0.711 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 68.06 kB / 0.8699 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3247, allocations: 151.6 MB / 1.018 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002613/0.3274, allocations: 1.128 MB / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.3288, allocations: 1.006 MB / 1.02 GB, free: 8.441 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/0.329, allocations: 4 kB / 1.02 GB, free: 8.438 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.663e-05/0.3291, allocations: 19.73 kB / 1.02 GB, free: 8.418 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001598/0.3293, allocations: 31.67 kB / 1.02 GB, free: 8.387 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.3296, allocations: 75.86 kB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002657/0.3299, allocations: 216.2 kB / 1.02 GB, free: 8.102 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002833/0.3302, allocations: 121.1 kB / 1.021 GB, free: 7.977 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.3304, allocations: 91.52 kB / 1.021 GB, free: 7.887 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.3306, allocations: 103.5 kB / 1.021 GB, free: 7.785 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.919e-05/0.3306, allocations: 24 kB / 1.021 GB, free: 7.762 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 4.327e-05/0.3307, allocations: 24 kB / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.679e-05/0.3308, allocations: 43.84 kB / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.3309, allocations: 99.47 kB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003854/0.3313, allocations: 279.3 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.3313, allocations: 3.938 kB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3313, allocations: 0 / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.509e-05/0.3313, allocations: 0 / 1.021 GB, free: 7.32 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.001082/0.3324, allocations: 495.1 kB / 1.022 GB, free: 6.789 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/0.3325, allocations: 8.922 kB / 1.022 GB, free: 6.781 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.072e-05/0.3326, allocations: 24.66 kB / 1.022 GB, free: 6.758 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006061/0.3332, allocations: 280.2 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.697e-05/0.3332, allocations: 16.81 kB / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/0.3333, allocations: 16.38 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005189/0.3338, allocations: 191.8 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.3338, allocations: 3.938 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.3339, allocations: 8 kB / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.3339, allocations: 4 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004517/0.3343, allocations: 149.6 kB / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.3354, allocations: 0.5647 MB / 1.023 GB, free: 5.441 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004123/0.3359, allocations: 130.6 kB / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.336, allocations: 64.81 kB / 1.023 GB, free: 5.238 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.3361, allocations: 0 / 1.023 GB, free: 5.238 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.3361, allocations: 42.56 kB / 1.023 GB, free: 5.188 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 1.303e-06/0.3361, allocations: 0 / 1.023 GB, free: 5.188 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0006431/0.3368, allocations: 201.3 kB / 1.023 GB, free: 4.984 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.3368, allocations: 59.34 kB / 1.023 GB, free: 4.914 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.337, allocations: 175.3 kB / 1.024 GB, free: 4.734 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.337, allocations: 29.7 kB / 1.024 GB, free: 4.699 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.154e-05/0.3371, allocations: 148.1 kB / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/0.3372, allocations: 31.47 kB / 1.024 GB, free: 4.516 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.964e-05/0.3373, allocations: 57.69 kB / 1.024 GB, free: 4.453 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.3374, allocations: 326.8 kB / 1.024 GB, free: 4.125 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.3376, allocations: 51.95 kB / 1.024 GB, free: 4.074 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/0.3378, allocations: 89.11 kB / 1.024 GB, free: 3.969 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003505/0.3381, allocations: 147 kB / 1.024 GB, free: 3.809 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3381, allocations: 4 kB / 1.024 GB, free: 3.805 MB / 0.795 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004417/0.3386, allocations: 177.3 kB / 1.025 GB, free: 3.625 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.3386, allocations: 8 kB / 1.025 GB, free: 3.617 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3386, allocations: 0 / 1.025 GB, free: 3.617 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3387, allocations: 4 kB / 1.025 GB, free: 3.613 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.3389, allocations: 35.91 kB / 1.025 GB, free: 3.578 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.3389, allocations: 4.156 kB / 1.025 GB, free: 3.574 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.339, allocations: 23.83 kB / 1.025 GB, free: 3.551 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.339, allocations: 11.88 kB / 1.025 GB, free: 3.539 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.0001234/0.3392, allocations: 144.2 kB / 1.025 GB, free: 3.391 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/0.3392, allocations: 11.81 kB / 1.025 GB, free: 3.379 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.29e-05/0.3393, allocations: 21.52 kB / 1.025 GB, free: 3.363 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.3393, allocations: 7.922 kB / 1.025 GB, free: 3.355 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.3393, allocations: 4 kB / 1.025 GB, free: 3.352 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3393, allocations: 4 kB / 1.025 GB, free: 3.348 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.3396, allocations: 265.5 kB / 1.025 GB, free: 3.039 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.3396, allocations: 0 / 1.025 GB, free: 3.039 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.3398, allocations: 23.92 kB / 1.025 GB, free: 3.016 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.3398, allocations: 0 / 1.025 GB, free: 3.016 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.3398, allocations: 4 kB / 1.025 GB, free: 3.012 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.175e-06/0.3398, allocations: 3.938 kB / 1.025 GB, free: 3.008 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.3398, allocations: 4 kB / 1.025 GB, free: 3.004 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004294/0.3402, allocations: 257.4 kB / 1.025 GB, free: 2.738 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/0.3403, allocations: 88.92 kB / 1.025 GB, free: 2.633 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.3403, allocations: 0 / 1.025 GB, free: 2.633 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.3405, allocations: 19.92 kB / 1.025 GB, free: 2.613 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.361e-05/0.3405, allocations: 19.97 kB / 1.025 GB, free: 2.594 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.3406, allocations: 4 kB / 1.025 GB, free: 2.59 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.876e-05/0.3407, allocations: 123.2 kB / 1.026 GB, free: 2.469 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3407, allocations: 0 / 1.026 GB, free: 2.469 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002851/0.3409, allocations: 39.84 kB / 1.026 GB, free: 2.43 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.0001297/0.3411, allocations: 105 kB / 1.026 GB, free: 2.32 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004571/0.3415, allocations: 156 kB / 1.026 GB, free: 2.168 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3416, allocations: 0 / 1.026 GB, free: 2.168 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001826/0.3418, allocations: 74.58 kB / 1.026 GB, free: 2.098 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.3421, allocations: 22.64 kB / 1.026 GB, free: 2.078 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006867/0.3428, allocations: 354.8 kB / 1.026 GB, free: 1.699 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.3431, allocations: 0.7241 MB / 1.027 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.39e-05/0.3432, allocations: 23.44 kB / 1.027 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of SimCode: time 2.1e-07/0.3432, allocations: 0 / 1.027 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of Templates: time 0.004053/0.3472, allocations: 2.064 MB / 1.029 GB, free: 14.87 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=480 -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