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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001592/0.001592, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001945/0.001945, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.621/1.621, allocations: 222.9 MB / 239.9 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.853/2.853, allocations: 472.6 MB / 0.7449 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 67.88 kB / 0.9116 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3873, allocations: 159.9 MB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002898/0.3902, allocations: 1.199 MB / 1.069 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00148/0.3917, allocations: 1.01 MB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.3919, allocations: 0 / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.227e-05/0.392, allocations: 15.8 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.3921, allocations: 19.84 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.3923, allocations: 67.95 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.3926, allocations: 224.1 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002967/0.3929, allocations: 136.1 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/0.3931, allocations: 99.62 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.3932, allocations: 95.55 kB / 1.071 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.253e-05/0.3933, allocations: 24 kB / 1.071 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.726e-05/0.3933, allocations: 24 kB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.19e-05/0.3934, allocations: 51.78 kB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.3935, allocations: 99.47 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003564/0.3939, allocations: 307.2 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.3939, allocations: 3.938 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.895e-06/0.3939, allocations: 0 / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.447e-06/0.3939, allocations: 0 / 1.071 GB, free: 7.355 MB / 0.8262 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.0008499/0.3947, allocations: 495.1 kB / 1.072 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.3948, allocations: 8.031 kB / 1.072 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.168e-05/0.3949, allocations: 24.66 kB / 1.072 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000534/0.3954, allocations: 282.5 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.399e-05/0.3955, allocations: 16.81 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.908e-05/0.3955, allocations: 24.38 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005184/0.396, allocations: 195.8 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.3961, allocations: 192 / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/0.3961, allocations: 15.94 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.3961, allocations: 4 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004167/0.3965, allocations: 165.6 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009718/0.3975, allocations: 0.5878 MB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003914/0.3979, allocations: 162.6 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.3981, allocations: 60.83 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.293e-05/0.3981, allocations: 8 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.3982, allocations: 34.56 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 1.243e-06/0.3982, allocations: 0 / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.0006219/0.3988, allocations: 218.5 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.968e-05/0.3989, allocations: 51.41 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.3991, allocations: 187.9 kB / 1.074 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.3991, allocations: 29.64 kB / 1.074 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.739e-05/0.3992, allocations: 148.1 kB / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.076e-05/0.3993, allocations: 39.41 kB / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.667e-05/0.3994, allocations: 53.69 kB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3995, allocations: 330.8 kB / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.3997, allocations: 51.95 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.3999, allocations: 105.1 kB / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/0.4003, allocations: 148.2 kB / 1.074 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4003, allocations: 0 / 1.074 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004227/0.4007, allocations: 201.3 kB / 1.075 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.4007, allocations: 4 kB / 1.075 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.4007, allocations: 4 kB / 1.075 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.4008, allocations: 0 / 1.075 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.4009, allocations: 35.91 kB / 1.075 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.401, allocations: 4 kB / 1.075 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.4011, allocations: 19.84 kB / 1.075 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.4011, allocations: 7.984 kB / 1.075 GB, free: 3.441 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.0002303/0.4013, allocations: 143.6 kB / 1.075 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.4014, allocations: 19.75 kB / 1.075 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/0.4014, allocations: 17.88 kB / 1.075 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.4014, allocations: 0 / 1.075 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4015, allocations: 0 / 1.075 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.4015, allocations: 7.984 kB / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.4018, allocations: 273.4 kB / 1.075 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.4018, allocations: 4 kB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.4019, allocations: 23.98 kB / 1.075 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.4019, allocations: 0 / 1.075 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.4019, allocations: 7.938 kB / 1.075 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.402, allocations: 3.984 kB / 1.075 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.402, allocations: 0 / 1.075 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004192/0.4024, allocations: 264.9 kB / 1.075 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.605e-05/0.4025, allocations: 92.95 kB / 1.075 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.4025, allocations: 4 kB / 1.075 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.4026, allocations: 11.98 kB / 1.075 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.947e-05/0.4027, allocations: 27.81 kB / 1.075 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.4027, allocations: 8 kB / 1.076 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.867e-05/0.4028, allocations: 124.2 kB / 1.076 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4029, allocations: 0 / 1.076 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002724/0.4031, allocations: 35.84 kB / 1.076 GB, free: 2.309 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.0001803/0.4033, allocations: 119.2 kB / 1.076 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004699/0.4038, allocations: 151.8 kB / 1.076 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4038, allocations: 0 / 1.076 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.404, allocations: 82.02 kB / 1.076 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.4043, allocations: 39.84 kB / 1.076 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007355/0.405, allocations: 412.9 kB / 1.076 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.4054, allocations: 0.7319 MB / 1.077 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001187/0.4055, allocations: 25.53 kB / 1.077 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.4056, allocations: 19.44 kB / 1.077 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.4056, allocations: 0 / 1.077 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of Templates: time 0.004632/0.4102, allocations: 1.39 MB / 1.079 GB, free: 15.34 MB / 0.8419 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