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.001726/0.001726, allocations: 108 kB / 15.6 MB, free: 132 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.001836/0.001836, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.635/1.635, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.946/2.946, allocations: 437 MB / 0.7104 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 63.89 kB / 0.8693 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9228/0.9249, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002711/0.9277, allocations: 1.121 MB / 1.018 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.9291, allocations: 1.006 MB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.686e-05/0.9292, allocations: 0 / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 7.122e-05/0.9293, allocations: 27.66 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.9295, allocations: 27.73 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.9297, allocations: 75.86 kB / 1.02 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002546/0.93, allocations: 216.3 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002746/0.9302, allocations: 125.3 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.9304, allocations: 95.58 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.9306, allocations: 99.47 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.932e-05/0.9306, allocations: 20 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.453e-05/0.9307, allocations: 24 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.188e-05/0.9307, allocations: 47.84 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.848e-05/0.9308, allocations: 99.41 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003162/0.9311, allocations: 281.1 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.9312, allocations: 4 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9312, allocations: 0 / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.9312, allocations: 0 / 1.021 GB, free: 15.2 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.000807/0.932, allocations: 492.6 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.932, allocations: 8.031 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.094e-05/0.9321, allocations: 24.66 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005266/0.9327, allocations: 278.1 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.9327, allocations: 16.81 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.173e-05/0.9327, allocations: 16.38 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004189/0.9332, allocations: 191.8 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.9332, allocations: 3.938 kB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.9332, allocations: 4 kB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.9332, allocations: 4 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004262/0.9337, allocations: 157.6 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008513/0.9345, allocations: 0.5686 MB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003363/0.9349, allocations: 126.7 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.935, allocations: 56.83 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.9351, allocations: 7.938 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.9351, allocations: 42.48 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 2.244e-06/0.9351, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0006276/0.9358, allocations: 193.4 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.9358, allocations: 55.34 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.936, allocations: 184 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.9361, allocations: 29.7 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.9362, allocations: 136.2 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.201e-05/0.9363, allocations: 47.39 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.854e-05/0.9363, allocations: 49.69 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.9365, allocations: 322.8 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.9367, allocations: 51.95 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/0.9369, allocations: 105 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003301/0.9372, allocations: 126.9 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.9372, allocations: 4 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004483/0.9377, allocations: 185.2 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.9377, allocations: 8.094 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.9377, allocations: 8 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.9378, allocations: 0 / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.9379, allocations: 39.84 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.938, allocations: 4 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.9381, allocations: 23.83 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.9381, allocations: 4 kB / 1.024 GB, free: 11.43 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.0001401/0.9383, allocations: 145.8 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.9383, allocations: 15.81 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.028e-05/0.9383, allocations: 17.52 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.9384, allocations: 7.938 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.9384, allocations: 0 / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.9384, allocations: 7.938 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003025/0.9387, allocations: 257.6 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.9387, allocations: 0 / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.9388, allocations: 23.97 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.9388, allocations: 0 / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.9389, allocations: 12 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.9389, allocations: 3.938 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.9389, allocations: 0 / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004283/0.9393, allocations: 257.1 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.87e-05/0.9394, allocations: 92.86 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.9394, allocations: 4 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.9395, allocations: 15.92 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.577e-05/0.9396, allocations: 19.98 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.9396, allocations: 4 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.946e-05/0.9398, allocations: 127.5 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9398, allocations: 0 / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002745/0.94, allocations: 35.84 kB / 1.025 GB, free: 10.31 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.0001591/0.9402, allocations: 112.8 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004443/0.9407, allocations: 143.8 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.9407, allocations: 0 / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000191/0.9409, allocations: 72.75 kB / 1.025 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.9412, allocations: 20.23 kB / 1.025 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007218/0.942, allocations: 321.2 kB / 1.026 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.9424, allocations: 0.7358 MB / 1.026 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001094/0.9425, allocations: 21.48 kB / 1.026 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.726e-05/0.9426, allocations: 23.38 kB / 1.026 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.9426, allocations: 0 / 1.026 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of Templates: time 0.00504/0.9476, allocations: 1.444 MB / 1.028 GB, free: 7.434 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=400 -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