Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.DualDuctMixConDischargeSensor.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_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, 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.001427/0.001427, allocations: 192 kB / 16.25 MB, free: 6.637 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.474/1.474, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.886/2.886, allocations: 437 MB / 0.71 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 63.91 kB / 0.8688 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7895/0.791, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002535/0.7936, allocations: 1.163 MB / 1.018 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.7948, allocations: 1.01 MB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.157e-05/0.7949, allocations: 0 / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 6.199e-05/0.7949, allocations: 15.8 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.7951, allocations: 15.86 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002272/0.7953, allocations: 75.88 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.7955, allocations: 208.3 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002481/0.7958, allocations: 128.1 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.796, allocations: 95.58 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.7961, allocations: 87.55 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.816e-05/0.7961, allocations: 24 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.076e-05/0.7962, allocations: 24 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.458e-05/0.7962, allocations: 55.83 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.698e-05/0.7963, allocations: 95.47 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.7966, allocations: 281 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.7966, allocations: 0 / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7966, allocations: 0 / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.7966, allocations: 0 / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0007079/0.7973, allocations: 496.6 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.175e-05/0.7974, allocations: 8.031 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.325e-05/0.7975, allocations: 24.66 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004769/0.798, allocations: 276.3 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.798, allocations: 12.81 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.798, allocations: 20.38 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/0.7984, allocations: 183.8 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.7984, allocations: 3.938 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.7985, allocations: 12 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.7985, allocations: 11.98 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003748/0.7989, allocations: 145.7 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008135/0.7997, allocations: 0.5725 MB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/0.8, allocations: 126.6 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.8002, allocations: 64.83 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.8002, allocations: 0 / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.8002, allocations: 34.56 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.153e-06/0.8002, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0005881/0.8008, allocations: 203.7 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.8009, allocations: 63.28 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.8011, allocations: 171 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.8011, allocations: 29.7 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.974e-05/0.8012, allocations: 140.1 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.102e-05/0.8012, allocations: 51.45 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.373e-05/0.8013, allocations: 45.7 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.8015, allocations: 330.8 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.8016, allocations: 51.97 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.8018, allocations: 93.11 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003198/0.8021, allocations: 137 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.8022, allocations: 0 / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000407/0.8026, allocations: 189.2 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.8026, allocations: 4 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.8026, allocations: 4 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.8026, allocations: 4 kB / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.8028, allocations: 39.86 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.8028, allocations: 0 / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.803, allocations: 19.83 kB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.803, allocations: 12 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.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 (20): * Single equations (assignments): 20 * 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.0001207/0.8031, allocations: 146.4 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/0.8031, allocations: 11.81 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.295e-05/0.8032, allocations: 21.53 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.8032, allocations: 7.938 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.8032, allocations: 0 / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.8032, allocations: 3.938 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.8035, allocations: 257.5 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.8035, allocations: 0 / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.8036, allocations: 31.92 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.8037, allocations: 0 / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.8037, allocations: 3.984 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.8037, allocations: 7.938 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.8037, allocations: 0 / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004047/0.8041, allocations: 248.8 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.011e-05/0.8042, allocations: 96.84 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.8042, allocations: 8 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.8043, allocations: 11.92 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.772e-05/0.8044, allocations: 23.97 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.8044, allocations: 4 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.983e-05/0.8045, allocations: 120.8 kB / 1.024 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8045, allocations: 4 kB / 1.024 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002705/0.8048, allocations: 35.84 kB / 1.024 GB, free: 10.56 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0001309/0.8049, allocations: 119.3 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004344/0.8054, allocations: 140.4 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8054, allocations: 0 / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.8056, allocations: 77.19 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.8059, allocations: 19.94 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006409/0.8066, allocations: 393.1 kB / 1.025 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.8069, allocations: 0.728 MB / 1.026 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001155/0.807, allocations: 21.53 kB / 1.026 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.655e-05/0.8071, allocations: 19.44 kB / 1.026 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.8071, allocations: 0 / 1.026 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of Templates: time 0.004251/0.8113, allocations: 1.361 MB / 1.027 GB, free: 7.707 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches