Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001554/0.001554, allocations: 113.1 kB / 15.99 MB, free: 6.348 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.001921/0.001921, allocations: 192.1 kB / 16.91 MB, free: 6.188 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.391/1.391, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.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.248/2.248, allocations: 390.2 MB / 0.665 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 64.95 kB / 0.8127 GB, free: 32.47 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3227, allocations: 140.4 MB / 0.9498 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.00332/0.3261, allocations: 1.178 MB / 0.951 GB, free: 8 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001616/0.3277, allocations: 0.9947 MB / 0.9519 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002143/0.328, allocations: 0 / 0.9519 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.3281, allocations: 15.8 kB / 0.952 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.3283, allocations: 19.86 kB / 0.952 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.3287, allocations: 67.95 kB / 0.952 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004097/0.3291, allocations: 216.2 kB / 0.9522 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003371/0.3294, allocations: 124.2 kB / 0.9524 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002577/0.3297, allocations: 91.64 kB / 0.9525 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.3299, allocations: 91.53 kB / 0.9525 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.583e-05/0.3299, allocations: 27.94 kB / 0.9526 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.102e-05/0.33, allocations: 24 kB / 0.9526 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.846e-05/0.33, allocations: 47.84 kB / 0.9526 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.3302, allocations: 95.47 kB / 0.9527 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00029/0.3305, allocations: 227.7 kB / 0.9529 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3305, allocations: 4 kB / 0.953 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.524e-06/0.3305, allocations: 0 / 0.953 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.383e-05/0.3305, allocations: 0 / 0.953 GB, free: 5.961 MB / 0.7325 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.0009546/0.3315, allocations: 491.1 kB / 0.9534 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.3315, allocations: 8.031 kB / 0.9534 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.722e-05/0.3316, allocations: 24.66 kB / 0.9534 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005453/0.3322, allocations: 284.2 kB / 0.9537 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.261e-05/0.3322, allocations: 16.81 kB / 0.9537 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.3323, allocations: 16.38 kB / 0.9538 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004551/0.3327, allocations: 183.2 kB / 0.9539 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.3327, allocations: 3.984 kB / 0.9539 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.906e-05/0.3328, allocations: 12 kB / 0.9539 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.3328, allocations: 4 kB / 0.9539 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003938/0.3332, allocations: 153.6 kB / 0.9541 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.3342, allocations: 0.5763 MB / 0.9547 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003309/0.3346, allocations: 122.7 kB / 0.9548 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.3347, allocations: 60.83 kB / 0.9548 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.3348, allocations: 0 / 0.9548 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.3348, allocations: 38.56 kB / 0.9549 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 5.12e-06/0.3348, allocations: 0 / 0.9549 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0006427/0.3355, allocations: 205.2 kB / 0.9551 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/0.3355, allocations: 55.41 kB / 0.9551 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.3358, allocations: 174.3 kB / 0.9553 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.3358, allocations: 33.7 kB / 0.9553 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002251/0.336, allocations: 148.1 kB / 0.9555 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.787e-05/0.3361, allocations: 35.45 kB / 0.9555 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.3362, allocations: 49.7 kB / 0.9555 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.3364, allocations: 330.8 kB / 0.9559 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.3366, allocations: 51.92 kB / 0.9559 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.3368, allocations: 97.05 kB / 0.956 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/0.3372, allocations: 143.6 kB / 0.9561 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.3372, allocations: 0 / 0.9561 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004705/0.3377, allocations: 185.2 kB / 0.9563 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.3377, allocations: 8.156 kB / 0.9563 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.3377, allocations: 7.938 kB / 0.9563 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.3377, allocations: 4 kB / 0.9563 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.3379, allocations: 27.92 kB / 0.9564 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/0.338, allocations: 7.984 kB / 0.9564 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.3381, allocations: 19.84 kB / 0.9564 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.3381, allocations: 7.984 kB / 0.9564 GB, free: 2.172 MB / 0.7325 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.0001617/0.3383, allocations: 135.8 kB / 0.9565 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/0.3383, allocations: 15.81 kB / 0.9565 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.354e-05/0.3384, allocations: 25.47 kB / 0.9566 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3384, allocations: 3.938 kB / 0.9566 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.3384, allocations: 0 / 0.9566 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.3384, allocations: 3.984 kB / 0.9566 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.3388, allocations: 269.5 kB / 0.9568 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.3388, allocations: 0 / 0.9568 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.3389, allocations: 23.97 kB / 0.9568 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.42e-05/0.3389, allocations: 0 / 0.9568 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.339, allocations: 11.88 kB / 0.9569 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.339, allocations: 0 / 0.9569 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.339, allocations: 0 / 0.9569 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004401/0.3394, allocations: 261.9 kB / 0.9571 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.966e-05/0.3395, allocations: 92.91 kB / 0.9572 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.3395, allocations: 3.938 kB / 0.9572 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.3397, allocations: 19.98 kB / 0.9572 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.367e-05/0.3397, allocations: 19.97 kB / 0.9572 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.3398, allocations: 0 / 0.9572 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001123/0.3399, allocations: 120.2 kB / 0.9574 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3399, allocations: 0 / 0.9574 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002924/0.3402, allocations: 35.84 kB / 0.9574 GB, free: 1.062 MB / 0.7325 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.0001948/0.3404, allocations: 115 kB / 0.9575 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004833/0.3409, allocations: 147.7 kB / 0.9576 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3409, allocations: 0 / 0.9576 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001779/0.3411, allocations: 67.89 kB / 0.9577 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.3415, allocations: 18.55 kB / 0.9577 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008685/0.3424, allocations: 421 kB / 0.9581 GB, free: 288 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.3429, allocations: 0.728 MB / 0.9588 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.643e-05/0.3429, allocations: 23.42 kB / 0.9589 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of SimCode: time 3.21e-07/0.3429, allocations: 0 / 0.9589 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of Templates: time 0.005016/0.348, allocations: 2.073 MB / 0.9609 GB, free: 13.43 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches