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.001498/0.001497, allocations: 103.4 kB / 16.35 MB, free: 6.289 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.001628/0.001628, allocations: 193.6 kB / 17.3 MB, free: 5.859 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.482/1.482, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.604/2.604, allocations: 442.6 MB / 0.7165 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 68.39 kB / 0.8774 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3837, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002738/0.3865, allocations: 1.137 MB / 1.028 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.3878, allocations: 1.022 MB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.728e-05/0.3879, allocations: 4 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.593e-05/0.388, allocations: 19.73 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.3882, allocations: 31.67 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.3884, allocations: 87.84 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002213/0.3887, allocations: 232.1 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002587/0.3889, allocations: 132.1 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.3891, allocations: 91.64 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.3892, allocations: 103.5 kB / 1.03 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.972e-05/0.3893, allocations: 28 kB / 1.03 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.325e-05/0.3893, allocations: 24 kB / 1.03 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.017e-05/0.3894, allocations: 55.78 kB / 1.03 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.137e-05/0.3895, allocations: 95.47 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003099/0.3898, allocations: 306.8 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.3898, allocations: 3.938 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3898, allocations: 0 / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.3898, allocations: 0 / 1.03 GB, free: 14.7 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.0007808/0.3906, allocations: 0.4913 MB / 1.031 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.3907, allocations: 16.03 kB / 1.031 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.653e-05/0.3907, allocations: 28.56 kB / 1.031 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004809/0.3912, allocations: 273.3 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.3913, allocations: 16.81 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.3913, allocations: 16.38 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004118/0.3917, allocations: 199.8 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.3917, allocations: 4.188 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.3918, allocations: 7.938 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.3918, allocations: 8 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004078/0.3922, allocations: 161.6 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009379/0.3931, allocations: 0.5838 MB / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003581/0.3935, allocations: 162.6 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.3937, allocations: 72.81 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.3937, allocations: 4 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.3938, allocations: 34.56 kB / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=17): time 1.263e-06/0.3938, allocations: 4 kB / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of matching and sorting (n=17): time 0.000595/0.3944, allocations: 219.3 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.3944, allocations: 51.41 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.3946, allocations: 187.2 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.3946, allocations: 29.7 kB / 1.033 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.3947, allocations: 136.2 kB / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.502e-05/0.3948, allocations: 55.3 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.286e-05/0.3949, allocations: 53.69 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.395, allocations: 326.8 kB / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.3952, allocations: 55.95 kB / 1.033 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.3954, allocations: 98.23 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003133/0.3957, allocations: 148.9 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3957, allocations: 0 / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003992/0.3961, allocations: 191.9 kB / 1.034 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.3961, allocations: 7.984 kB / 1.034 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.3961, allocations: 0 / 1.034 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.3962, allocations: 4 kB / 1.034 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.3964, allocations: 40.08 kB / 1.034 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.3964, allocations: 0 / 1.034 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.3965, allocations: 19.83 kB / 1.034 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.3965, allocations: 15.94 kB / 1.034 GB, free: 10.77 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.0002188/0.3968, allocations: 145.7 kB / 1.034 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-05/0.3968, allocations: 19.75 kB / 1.034 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.713e-05/0.3969, allocations: 25.88 kB / 1.034 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3969, allocations: 0 / 1.034 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.3969, allocations: 0 / 1.034 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3969, allocations: 0 / 1.034 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.3972, allocations: 277.4 kB / 1.034 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3972, allocations: 0 / 1.034 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.3974, allocations: 23.97 kB / 1.034 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/0.3974, allocations: 4 kB / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.3974, allocations: 3.938 kB / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3974, allocations: 0 / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3974, allocations: 4 kB / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004642/0.3979, allocations: 263.2 kB / 1.034 GB, free: 9.953 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.76e-05/0.3979, allocations: 92.86 kB / 1.034 GB, free: 9.844 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.398, allocations: 8 kB / 1.034 GB, free: 9.836 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.3981, allocations: 11.98 kB / 1.034 GB, free: 9.824 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.58e-05/0.3982, allocations: 23.97 kB / 1.034 GB, free: 9.801 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.3982, allocations: 4 kB / 1.034 GB, free: 9.797 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001251/0.3983, allocations: 119.2 kB / 1.035 GB, free: 9.68 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3983, allocations: 0 / 1.035 GB, free: 9.68 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002744/0.3986, allocations: 39.84 kB / 1.035 GB, free: 9.641 MB / 0.8106 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.0001528/0.3988, allocations: 108.3 kB / 1.035 GB, free: 9.527 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004849/0.3993, allocations: 158.1 kB / 1.035 GB, free: 9.375 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3993, allocations: 0 / 1.035 GB, free: 9.375 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.3994, allocations: 75.89 kB / 1.035 GB, free: 9.301 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.3998, allocations: 26.17 kB / 1.035 GB, free: 9.277 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006975/0.4005, allocations: 345.3 kB / 1.035 GB, free: 8.91 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.4008, allocations: 0.7319 MB / 1.036 GB, free: 8.152 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.691e-05/0.4009, allocations: 21.55 kB / 1.036 GB, free: 8.133 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.443e-05/0.401, allocations: 27.42 kB / 1.036 GB, free: 8.109 MB / 0.8106 GB Notification: Performance of SimCode: time 3.61e-07/0.401, allocations: 0 / 1.036 GB, free: 8.109 MB / 0.8106 GB Notification: Performance of Templates: time 0.004574/0.4055, allocations: 1.479 MB / 1.038 GB, free: 6.688 MB / 0.8106 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 -s cvode -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