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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001029/0.001029, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001214, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.416/1.416, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.655/2.655, allocations: 437.8 MB / 0.7128 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003702/0.0003706, allocations: 8 kB / 0.8736 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8253/0.8257, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.001577/0.8273, allocations: 0.8163 MB / 1.025 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.8288, allocations: 0.9908 MB / 1.026 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.8289, allocations: 4 kB / 1.026 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.337e-05/0.829, allocations: 11.86 kB / 1.026 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.8292, allocations: 23.78 kB / 1.026 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.8294, allocations: 67.95 kB / 1.026 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002335/0.8297, allocations: 200.2 kB / 1.026 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002647/0.83, allocations: 120.1 kB / 1.026 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002018/0.8302, allocations: 71.58 kB / 1.026 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.8303, allocations: 63.58 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.3e-05/0.8304, allocations: 4 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.113e-05/0.8304, allocations: 8 kB / 1.026 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.822e-05/0.8304, allocations: 31.83 kB / 1.026 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.119e-05/0.8305, allocations: 93.19 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.8308, allocations: 213.4 kB / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.8308, allocations: 0 / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.903e-06/0.8308, allocations: 0 / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.8308, allocations: 0 / 1.026 GB, free: 13.13 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.0007413/0.8315, allocations: 463.2 kB / 1.027 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.8316, allocations: 11.98 kB / 1.027 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.927e-05/0.8317, allocations: 32.64 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005038/0.8322, allocations: 288.3 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.8322, allocations: 12.81 kB / 1.027 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.8323, allocations: 20.38 kB / 1.027 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004303/0.8327, allocations: 191.8 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.8327, allocations: 3.938 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.8327, allocations: 16 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.8328, allocations: 4 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000414/0.8332, allocations: 161.6 kB / 1.028 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008188/0.834, allocations: 0.5647 MB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/0.8343, allocations: 134.6 kB / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.8345, allocations: 68.81 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.8346, allocations: 8 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.8346, allocations: 30.56 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.8346, allocations: 0 / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0006958/0.8353, allocations: 225.3 kB / 1.029 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.8354, allocations: 59.34 kB / 1.029 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.8356, allocations: 170.3 kB / 1.029 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.8356, allocations: 25.7 kB / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.836e-05/0.8357, allocations: 152.1 kB / 1.029 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.82e-05/0.8358, allocations: 39.39 kB / 1.029 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-05/0.8358, allocations: 37.7 kB / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.8359, allocations: 326.8 kB / 1.029 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.8361, allocations: 55.95 kB / 1.029 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.8363, allocations: 102.7 kB / 1.029 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/0.8367, allocations: 151 kB / 1.03 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.8367, allocations: 3.938 kB / 1.03 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004453/0.8371, allocations: 201.2 kB / 1.03 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.8372, allocations: 4 kB / 1.03 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.8372, allocations: 4 kB / 1.03 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.8372, allocations: 0 / 1.03 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.8374, allocations: 44.06 kB / 1.03 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.8374, allocations: 3.938 kB / 1.03 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.8376, allocations: 27.83 kB / 1.03 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.8376, allocations: 4 kB / 1.03 GB, free: 9.285 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.0001319/0.8377, allocations: 138.4 kB / 1.03 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/0.8378, allocations: 15.91 kB / 1.03 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.958e-05/0.8378, allocations: 21.52 kB / 1.03 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.8378, allocations: 3.938 kB / 1.03 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.8378, allocations: 3.938 kB / 1.03 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.8379, allocations: 0 / 1.03 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002873/0.8381, allocations: 261.5 kB / 1.03 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.8382, allocations: 4 kB / 1.03 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.8383, allocations: 27.91 kB / 1.03 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.8383, allocations: 0 / 1.03 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.8383, allocations: 12 kB / 1.03 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.8383, allocations: 3.938 kB / 1.03 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.8383, allocations: 0 / 1.03 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004425/0.8388, allocations: 264.8 kB / 1.031 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.61e-05/0.8389, allocations: 92.86 kB / 1.031 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.8389, allocations: 4 kB / 1.031 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.839, allocations: 19.92 kB / 1.031 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.464e-05/0.8391, allocations: 23.92 kB / 1.031 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.8391, allocations: 7.984 kB / 1.031 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.843e-05/0.8392, allocations: 117.8 kB / 1.031 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8392, allocations: 4 kB / 1.031 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002795/0.8395, allocations: 35.84 kB / 1.031 GB, free: 8.16 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.0001409/0.8397, allocations: 107.2 kB / 1.031 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004209/0.8401, allocations: 149.7 kB / 1.031 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8401, allocations: 0 / 1.031 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.8403, allocations: 79.89 kB / 1.031 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.8407, allocations: 19.98 kB / 1.031 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007152/0.8414, allocations: 437.5 kB / 1.032 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.8417, allocations: 0.7322 MB / 1.032 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.522e-05/0.8417, allocations: 15.44 kB / 1.032 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of SimCode: time 2.8e-07/0.8418, allocations: 7.875 kB / 1.032 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of Templates: time 0.004329/0.8461, allocations: 2.033 MB / 1.034 GB, free: 4.543 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/jenkins1/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