Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.0009454/0.0009456, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006518/0.006518, allocations: 170.1 kB / 16.27 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.507/1.507, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.875/2.875, allocations: 462.7 MB / 0.7364 GB, free: 256 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004088/0.0004089, allocations: 7.906 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3868, allocations: 159.6 MB / 1.059 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.001389/0.3882, allocations: 0.8333 MB / 1.06 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.3894, allocations: 1.002 MB / 1.061 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.592e-05/0.3895, allocations: 4 kB / 1.061 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.539e-05/0.3895, allocations: 11.86 kB / 1.061 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.3897, allocations: 19.86 kB / 1.061 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.3899, allocations: 71.88 kB / 1.061 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.3901, allocations: 208.2 kB / 1.061 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002356/0.3904, allocations: 120.1 kB / 1.061 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.3905, allocations: 63.59 kB / 1.061 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.3906, allocations: 79.48 kB / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.137e-05/0.3907, allocations: 8 kB / 1.061 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.943e-05/0.3907, allocations: 8 kB / 1.061 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.046e-05/0.3907, allocations: 31.78 kB / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.792e-05/0.3908, allocations: 101.1 kB / 1.061 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002397/0.3911, allocations: 279.2 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.3911, allocations: 4 kB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3911, allocations: 0 / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.3911, allocations: 0 / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006331/0.3917, allocations: 463.2 kB / 1.062 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.3918, allocations: 12.03 kB / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.355e-05/0.3918, allocations: 20.66 kB / 1.062 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004814/0.3923, allocations: 292.2 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.3924, allocations: 20.81 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.3924, allocations: 16.38 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004236/0.3928, allocations: 207.8 kB / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.3928, allocations: 192 / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.3929, allocations: 15.88 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.3929, allocations: 4 kB / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004251/0.3933, allocations: 173.6 kB / 1.063 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008359/0.3942, allocations: 0.5956 MB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003537/0.3945, allocations: 172.2 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.3947, allocations: 68.83 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.3947, allocations: 0 / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.3948, allocations: 46.55 kB / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=17): time 1.012e-06/0.3948, allocations: 0 / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of matching and sorting (n=17): time 0.0006262/0.3954, allocations: 238.9 kB / 1.064 GB, free: 92 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.3954, allocations: 51.41 kB / 1.064 GB, free: 28 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.3956, allocations: 182.7 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.3957, allocations: 29.7 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.3958, allocations: 140.2 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.3958, allocations: 51.3 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.436e-05/0.3959, allocations: 33.7 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.396, allocations: 330.8 kB / 1.065 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.3962, allocations: 59.95 kB / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.3964, allocations: 107.4 kB / 1.065 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003428/0.3967, allocations: 153 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3968, allocations: 0 / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004412/0.3972, allocations: 214.7 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.3972, allocations: 7.938 kB / 1.065 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3972, allocations: 4 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.3973, allocations: 0 / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.3974, allocations: 32.14 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.3975, allocations: 15.92 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.3976, allocations: 19.84 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.3976, allocations: 11.98 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.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 (22): * Single equations (assignments): 22 * 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.0001613/0.3978, allocations: 140.5 kB / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.829e-05/0.3978, allocations: 19.75 kB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.699e-05/0.3979, allocations: 25.88 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3979, allocations: 3.984 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3979, allocations: 0 / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3979, allocations: 3.984 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003098/0.3982, allocations: 265.5 kB / 1.066 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3982, allocations: 3.938 kB / 1.066 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.3984, allocations: 27.92 kB / 1.066 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3984, allocations: 0 / 1.066 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.3984, allocations: 8 kB / 1.066 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3984, allocations: 4 kB / 1.066 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3984, allocations: 0 / 1.066 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004401/0.3989, allocations: 277.7 kB / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.878e-05/0.3989, allocations: 96.8 kB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.3989, allocations: 0 / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.3991, allocations: 15.98 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.998e-05/0.3992, allocations: 19.97 kB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.3992, allocations: 11.94 kB / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.231e-05/0.3993, allocations: 123.2 kB / 1.066 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3993, allocations: 0 / 1.066 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000263/0.3995, allocations: 39.84 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 0 () * 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.0001431/0.3997, allocations: 109.9 kB / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004328/0.4001, allocations: 160.1 kB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4001, allocations: 0 / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.4003, allocations: 83.89 kB / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.4006, allocations: 25.77 kB / 1.067 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006504/0.4013, allocations: 426.8 kB / 1.067 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.4016, allocations: 0.7361 MB / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001095/0.4017, allocations: 21.55 kB / 1.068 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.861e-05/0.4018, allocations: 19.42 kB / 1.068 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.4018, allocations: 0 / 1.068 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of Templates: time 0.004245/0.4061, allocations: 1.318 MB / 1.069 GB, free: 10.55 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches