Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008039/0.0008039, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009294/0.0009294, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8601/0.8601, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.783/1.783, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.488e-05/2.708e-05, allocations: 2.281 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.001663/0.00169, allocations: 1.079 MB / 1.002 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.002769, allocations: 1.042 MB / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.09e-05/0.00286, allocations: 4 kB / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 5.25e-05/0.002912, allocations: 23.67 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.00303, allocations: 35.67 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.003304, allocations: 87.78 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.003479, allocations: 240.1 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.003665, allocations: 88.66 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002254/0.00389, allocations: 147.6 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.998e-05/0.00398, allocations: 71.72 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.028e-05/0.004011, allocations: 24 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.357e-05/0.004064, allocations: 28 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.317e-05/0.004097, allocations: 51.83 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.786e-05/0.004145, allocations: 63.83 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002815/0.004427, allocations: 326.8 kB / 1.004 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.00443, allocations: 4 kB / 1.004 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.452e-06/0.004431, allocations: 4 kB / 1.004 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.004436, allocations: 0 / 1.004 GB, free: 9.672 MB / 0.9636 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.0005275/0.004963, allocations: 429.8 kB / 1.005 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.005001, allocations: 8.75 kB / 1.005 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.005118, allocations: 36.78 kB / 1.005 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.005417, allocations: 219.6 kB / 1.005 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.005436, allocations: 12.88 kB / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.005461, allocations: 28.38 kB / 1.005 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002809/0.005741, allocations: 196.6 kB / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.00575, allocations: 192 / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.005769, allocations: 12.38 kB / 1.005 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-06/0.005778, allocations: 4.375 kB / 1.005 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002429/0.006021, allocations: 161.8 kB / 1.005 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005589/0.00658, allocations: 487.5 kB / 1.006 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.006821, allocations: 142.7 kB / 1.006 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.862e-05/0.00692, allocations: 64.81 kB / 1.006 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.006942, allocations: 3.906 kB / 1.006 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.006961, allocations: 34.56 kB / 1.006 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=17): time 1.703e-06/0.006963, allocations: 0 / 1.006 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of matching and sorting (n=17): time 0.0005445/0.007507, allocations: 211 kB / 1.006 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.007542, allocations: 55.41 kB / 1.006 GB, free: 7.484 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.007672, allocations: 191.1 kB / 1.006 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.007686, allocations: 25.7 kB / 1.006 GB, free: 7.258 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.318e-05/0.007759, allocations: 140.4 kB / 1.007 GB, free: 7.117 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.007793, allocations: 51.64 kB / 1.007 GB, free: 7.066 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.894e-05/0.007852, allocations: 53.69 kB / 1.007 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.314e-05/0.007945, allocations: 330.8 kB / 1.007 GB, free: 6.676 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.632e-05/0.008041, allocations: 55.95 kB / 1.007 GB, free: 6.621 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.008153, allocations: 105 kB / 1.007 GB, free: 6.5 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.008339, allocations: 147.1 kB / 1.007 GB, free: 6.34 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.008342, allocations: 4 kB / 1.007 GB, free: 6.336 MB / 0.9636 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002584/0.0086, allocations: 189.3 kB / 1.007 GB, free: 6.145 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.008616, allocations: 9.562 kB / 1.007 GB, free: 6.137 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.008621, allocations: 0 / 1.007 GB, free: 6.137 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.008637, allocations: 7.938 kB / 1.007 GB, free: 6.129 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.008755, allocations: 44.06 kB / 1.007 GB, free: 6.086 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.008761, allocations: 0 / 1.007 GB, free: 6.086 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.575e-05/0.008816, allocations: 23.88 kB / 1.007 GB, free: 6.062 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.008826, allocations: 8 kB / 1.007 GB, free: 6.055 MB / 0.9636 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.000136/0.008962, allocations: 143.2 kB / 1.008 GB, free: 5.906 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.008986, allocations: 19.89 kB / 1.008 GB, free: 5.887 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.138e-05/0.009017, allocations: 21.81 kB / 1.008 GB, free: 5.859 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.009022, allocations: 3.938 kB / 1.008 GB, free: 5.855 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.009026, allocations: 4 kB / 1.008 GB, free: 5.852 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.009029, allocations: 0 / 1.008 GB, free: 5.852 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.009187, allocations: 189.1 kB / 1.008 GB, free: 5.637 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.009188, allocations: 0 / 1.008 GB, free: 5.637 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.047e-05/0.009249, allocations: 27.97 kB / 1.008 GB, free: 5.609 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.009251, allocations: 0 / 1.008 GB, free: 5.609 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.009261, allocations: 4 kB / 1.008 GB, free: 5.605 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.009261, allocations: 0 / 1.008 GB, free: 5.605 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.009263, allocations: 3.938 kB / 1.008 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.009513, allocations: 267.3 kB / 1.008 GB, free: 5.324 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.454e-05/0.009528, allocations: 15.91 kB / 1.008 GB, free: 5.309 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.009543, allocations: 4 kB / 1.008 GB, free: 5.305 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.628e-05/0.009599, allocations: 11.98 kB / 1.008 GB, free: 5.293 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.565e-05/0.009665, allocations: 31.81 kB / 1.008 GB, free: 5.262 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.009671, allocations: 4 kB / 1.008 GB, free: 5.258 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.223e-05/0.009734, allocations: 120.8 kB / 1.008 GB, free: 5.141 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.009734, allocations: 0 / 1.008 GB, free: 5.141 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001831/0.009917, allocations: 39.89 kB / 1.008 GB, free: 5.102 MB / 0.9636 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 9.895e-05/0.01002, allocations: 113.5 kB / 1.008 GB, free: 4.984 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002495/0.01027, allocations: 141.5 kB / 1.009 GB, free: 4.848 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01027, allocations: 0 / 1.009 GB, free: 4.848 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.01037, allocations: 76.2 kB / 1.009 GB, free: 4.773 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.0106, allocations: 23.92 kB / 1.009 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005252/0.01112, allocations: 366 kB / 1.009 GB, free: 4.363 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.63e-05/0.01122, allocations: 121.2 kB / 1.009 GB, free: 4.223 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.944e-05/0.01128, allocations: 32.48 kB / 1.009 GB, free: 4.191 MB / 0.9636 GB Notification: Performance of SimCode: time 4.5e-07/0.01128, allocations: 0 / 1.009 GB, free: 4.191 MB / 0.9636 GB Notification: Performance of Templates: time 0.002912/0.01419, allocations: 2.231 MB / 1.011 GB, free: 1.969 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.498788001015782]