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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001616/0.001616, allocations: 100.1 kB / 15.88 MB, free: 12 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.001994/0.001994, allocations: 199.4 kB / 16.79 MB, free: 6.828 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.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.866/2.866, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 64.73 kB / 0.8991 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3775, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.003507/0.3811, allocations: 1.184 MB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.3827, allocations: 1.01 MB / 1.055 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002083/0.383, allocations: 4 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.3831, allocations: 15.8 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.3833, allocations: 11.88 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.3836, allocations: 71.94 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.3839, allocations: 212.2 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003195/0.3843, allocations: 124.1 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002371/0.3845, allocations: 83.58 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.3847, allocations: 95.52 kB / 1.056 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.196e-05/0.3847, allocations: 12 kB / 1.056 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.23e-05/0.3848, allocations: 12 kB / 1.056 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.401e-05/0.3848, allocations: 43.78 kB / 1.056 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.385, allocations: 95.41 kB / 1.056 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002836/0.3853, allocations: 235.7 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.3853, allocations: 0 / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3853, allocations: 4 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.638e-05/0.3853, allocations: 0 / 1.056 GB, free: 5.07 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.001095/0.3864, allocations: 0.4913 MB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.3865, allocations: 11.97 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.986e-05/0.3866, allocations: 24.66 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006016/0.3872, allocations: 280.2 kB / 1.057 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.009e-05/0.3872, allocations: 20.81 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.953e-05/0.3873, allocations: 16.38 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004801/0.3877, allocations: 203.8 kB / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.3878, allocations: 4.125 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.3878, allocations: 7.938 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.3878, allocations: 4 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004425/0.3883, allocations: 161.6 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.3893, allocations: 0.5917 MB / 1.058 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004063/0.3898, allocations: 166.5 kB / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.3899, allocations: 68.83 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.411e-05/0.39, allocations: 0 / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.39, allocations: 30.56 kB / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=17): time 1.633e-06/0.39, allocations: 8 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of matching and sorting (n=17): time 0.0006639/0.3907, allocations: 218.8 kB / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.3908, allocations: 59.34 kB / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.391, allocations: 175.7 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.682e-05/0.3911, allocations: 33.64 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.3912, allocations: 136.2 kB / 1.059 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.935e-05/0.3913, allocations: 55.38 kB / 1.059 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.3914, allocations: 53.69 kB / 1.059 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3916, allocations: 318.8 kB / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.3917, allocations: 59.95 kB / 1.059 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.392, allocations: 98.61 kB / 1.059 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/0.3923, allocations: 146.8 kB / 1.059 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3924, allocations: 4 kB / 1.059 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000434/0.3928, allocations: 194.9 kB / 1.059 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.3928, allocations: 8 kB / 1.059 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.3929, allocations: 0 / 1.059 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.542e-05/0.3929, allocations: 7.938 kB / 1.059 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.3931, allocations: 40.06 kB / 1.059 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.3931, allocations: 4 kB / 1.059 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.3933, allocations: 19.83 kB / 1.059 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.3933, allocations: 8 kB / 1.06 GB, free: 1.137 MB / 0.8106 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.0002096/0.3935, allocations: 139.8 kB / 1.06 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.77e-05/0.3936, allocations: 15.75 kB / 1.06 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.199e-05/0.3936, allocations: 29.86 kB / 1.06 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.3936, allocations: 4 kB / 1.06 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.3937, allocations: 0 / 1.06 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3937, allocations: 0 / 1.06 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003239/0.394, allocations: 277.4 kB / 1.06 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.394, allocations: 0 / 1.06 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.3941, allocations: 23.92 kB / 1.06 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.3942, allocations: 0 / 1.06 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.3942, allocations: 7.984 kB / 1.06 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.3942, allocations: 3.984 kB / 1.06 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.3942, allocations: 8 kB / 1.06 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000437/0.3946, allocations: 255.2 kB / 1.06 GB, free: 324 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.665e-05/0.3947, allocations: 100.8 kB / 1.06 GB, free: 204 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.027e-05/0.3948, allocations: 7.984 kB / 1.06 GB, free: 196 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.3949, allocations: 8 kB / 1.06 GB, free: 188 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.395, allocations: 27.97 kB / 1.06 GB, free: 160 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.395, allocations: 4 kB / 1.06 GB, free: 156 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001086/0.3951, allocations: 120.2 kB / 1.06 GB, free: 36 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3951, allocations: 0 / 1.06 GB, free: 36 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003277/0.3955, allocations: 39.89 kB / 1.061 GB, free: 15.99 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.0001749/0.3956, allocations: 115.1 kB / 1.061 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004346/0.3961, allocations: 149.2 kB / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.3961, allocations: 0 / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.3963, allocations: 75.89 kB / 1.061 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.3966, allocations: 23.92 kB / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008612/0.3975, allocations: 448.8 kB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.3979, allocations: 0.7283 MB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.965e-05/0.398, allocations: 27.42 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.398, allocations: 4 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of Templates: time 0.004833/0.4028, allocations: 2.143 MB / 1.064 GB, free: 12.24 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/jenkins1/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