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.001514/0.001513, allocations: 105.8 kB / 16.27 MB, free: 5.969 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.001503/0.001503, allocations: 189.7 kB / 17.19 MB, free: 5.594 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.384/1.384, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.721/2.721, allocations: 482.4 MB / 0.7553 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 72.2 kB / 0.9246 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7811/0.783, allocations: 162.2 MB / 1.083 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002412/0.7855, allocations: 1.145 MB / 1.084 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.7866, allocations: 1.011 MB / 1.085 GB, free: 148 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.094e-05/0.7867, allocations: 3.344 kB / 1.085 GB, free: 148 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.076e-05/0.7868, allocations: 24.47 kB / 1.085 GB, free: 128 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.7869, allocations: 28.06 kB / 1.085 GB, free: 104 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.7871, allocations: 81.06 kB / 1.085 GB, free: 56 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002754/0.7874, allocations: 232.6 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002815/0.7877, allocations: 136.8 kB / 1.086 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.7879, allocations: 94.53 kB / 1.086 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.788, allocations: 95.8 kB / 1.086 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.388e-05/0.7881, allocations: 25.28 kB / 1.086 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 3.638e-05/0.7881, allocations: 24 kB / 1.086 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.069e-05/0.7882, allocations: 58.98 kB / 1.086 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.7883, allocations: 103 kB / 1.086 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003647/0.7887, allocations: 291.8 kB / 1.086 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.7887, allocations: 2.094 kB / 1.086 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.062e-06/0.7887, allocations: 0 / 1.086 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.7887, allocations: 0 / 1.086 GB, free: 15.52 MB / 0.8419 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.0008273/0.7896, allocations: 0.4902 MB / 1.087 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.7896, allocations: 9.406 kB / 1.087 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.245e-05/0.7897, allocations: 29.12 kB / 1.087 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000511/0.7902, allocations: 274.8 kB / 1.087 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/0.7902, allocations: 18.64 kB / 1.087 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.7903, allocations: 22 kB / 1.087 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004312/0.7907, allocations: 198.6 kB / 1.087 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.7907, allocations: 192 / 1.087 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.7908, allocations: 10.22 kB / 1.087 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.7908, allocations: 9.984 kB / 1.087 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004323/0.7912, allocations: 160.8 kB / 1.087 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009775/0.7922, allocations: 0.594 MB / 1.088 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/0.7926, allocations: 158.9 kB / 1.088 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.7928, allocations: 66.72 kB / 1.088 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.7928, allocations: 7.203 kB / 1.088 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/0.7929, allocations: 35.69 kB / 1.088 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=17): time 1.232e-06/0.7929, allocations: 3.938 kB / 1.088 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17): time 0.0006244/0.7935, allocations: 220.3 kB / 1.088 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.7936, allocations: 53.97 kB / 1.088 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.7937, allocations: 182.6 kB / 1.089 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.7938, allocations: 30.61 kB / 1.089 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.7939, allocations: 139.1 kB / 1.089 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.359e-05/0.7939, allocations: 45.36 kB / 1.089 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.04e-05/0.794, allocations: 52.59 kB / 1.089 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.7942, allocations: 324 kB / 1.089 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.7944, allocations: 59.17 kB / 1.089 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.7946, allocations: 105 kB / 1.089 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.7949, allocations: 141.7 kB / 1.09 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.7949, allocations: 0 / 1.09 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004555/0.7954, allocations: 196.7 kB / 1.09 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.7954, allocations: 6.781 kB / 1.09 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.7954, allocations: 0.8438 kB / 1.09 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.7955, allocations: 2.812 kB / 1.09 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.7956, allocations: 37.77 kB / 1.09 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.617e-06/0.7957, allocations: 3.109 kB / 1.09 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.7958, allocations: 23.52 kB / 1.09 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.7958, allocations: 13.91 kB / 1.09 GB, free: 12.95 MB / 0.8419 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.0001855/0.796, allocations: 144.3 kB / 1.09 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.396e-05/0.796, allocations: 19 kB / 1.09 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.105e-05/0.7961, allocations: 19.56 kB / 1.09 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.7961, allocations: 1.594 kB / 1.09 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.7961, allocations: 0.5625 kB / 1.09 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.7961, allocations: 1.5 kB / 1.09 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003744/0.7965, allocations: 285.2 kB / 1.09 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.7965, allocations: 0 / 1.09 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.7966, allocations: 22.64 kB / 1.09 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.7967, allocations: 0 / 1.09 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.7967, allocations: 6.812 kB / 1.09 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.7967, allocations: 0.75 kB / 1.09 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.7967, allocations: 5.312 kB / 1.09 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004736/0.7972, allocations: 267.6 kB / 1.091 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.818e-05/0.7972, allocations: 88.84 kB / 1.091 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.7973, allocations: 2.688 kB / 1.091 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.7974, allocations: 15.58 kB / 1.091 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.858e-05/0.7975, allocations: 24.11 kB / 1.091 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.7975, allocations: 3.484 kB / 1.091 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.844e-05/0.7976, allocations: 119.5 kB / 1.091 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7976, allocations: 0 / 1.091 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002696/0.7979, allocations: 49.81 kB / 1.091 GB, free: 12.13 MB / 0.8419 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.0001604/0.7981, allocations: 110.6 kB / 1.091 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004488/0.7985, allocations: 153.7 kB / 1.091 GB, free: 12 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.7985, allocations: 5.312 kB / 1.091 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.7987, allocations: 75.06 kB / 1.091 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.799, allocations: 21.23 kB / 1.091 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007613/0.7998, allocations: 369.7 kB / 1.092 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/0.8002, allocations: 0.7334 MB / 1.092 GB, free: 11 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.967e-05/0.8003, allocations: 25.31 kB / 1.092 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.8003, allocations: 0 / 1.092 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of Templates: time 0.004528/0.8048, allocations: 2.171 MB / 1.094 GB, free: 10.76 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=400 -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