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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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_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=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.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.001044/0.001045, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0009755/0.0009755, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.73/2.73, allocations: 436.5 MB / 0.7104 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004829/0.0004829, allocations: 15.98 kB / 0.8708 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8203/0.8208, allocations: 153.6 MB / 1.021 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.001467/0.8223, allocations: 0.7853 MB / 1.022 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001416/0.8237, allocations: 0.9871 MB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.126e-05/0.8238, allocations: 4 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.236e-05/0.8239, allocations: 11.86 kB / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.824, allocations: 23.89 kB / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/0.8242, allocations: 55.89 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002353/0.8244, allocations: 116.4 kB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.8247, allocations: 94.61 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.8248, allocations: 63.7 kB / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.8249, allocations: 63.62 kB / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.825, allocations: 4 kB / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.041e-05/0.825, allocations: 8 kB / 1.023 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.18e-05/0.825, allocations: 23.84 kB / 1.023 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.952e-05/0.8251, allocations: 53.64 kB / 1.023 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.8253, allocations: 217.3 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.8253, allocations: 3.938 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8253, allocations: 0 / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.8253, allocations: 4 kB / 1.023 GB, free: 14.51 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.0006873/0.826, allocations: 455.1 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.8261, allocations: 15.98 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.985e-05/0.8261, allocations: 23.72 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005653/0.8267, allocations: 280.7 kB / 1.024 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.8267, allocations: 12.44 kB / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.99e-05/0.8268, allocations: 20 kB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004947/0.8273, allocations: 195.2 kB / 1.024 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.8273, allocations: 3.938 kB / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.8273, allocations: 12 kB / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.8273, allocations: 7.984 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003806/0.8277, allocations: 161.6 kB / 1.024 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008633/0.8286, allocations: 0.5647 MB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003518/0.829, allocations: 138.7 kB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.829, allocations: 4.062 kB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.829, allocations: 38.5 kB / 1.025 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.829, allocations: 3.938 kB / 1.025 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0006535/0.8297, allocations: 220 kB / 1.025 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.8298, allocations: 55.41 kB / 1.025 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.83, allocations: 170.8 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.83, allocations: 25.7 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.8301, allocations: 152.1 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.148e-05/0.8302, allocations: 35.45 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.001e-05/0.8302, allocations: 4 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.8304, allocations: 326.8 kB / 1.026 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.8305, allocations: 59.95 kB / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.8307, allocations: 106.6 kB / 1.026 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.8309, allocations: 55.92 kB / 1.026 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.8309, allocations: 0 / 1.026 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004187/0.8313, allocations: 200.2 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.8314, allocations: 4 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.8314, allocations: 4 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.8314, allocations: 4 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.8316, allocations: 39.86 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.8316, allocations: 8 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.8318, allocations: 27.98 kB / 1.027 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.8318, allocations: 8 kB / 1.027 GB, free: 10.89 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 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001489/0.8319, allocations: 137.8 kB / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.832, allocations: 11.84 kB / 1.027 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.067e-05/0.832, allocations: 21.52 kB / 1.027 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.8321, allocations: 4 kB / 1.027 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.8321, allocations: 3.953 kB / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.8321, allocations: 4 kB / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003224/0.8324, allocations: 265.4 kB / 1.027 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.8324, allocations: 0 / 1.027 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.8325, allocations: 27.97 kB / 1.027 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.8326, allocations: 0 / 1.027 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.8326, allocations: 4 kB / 1.027 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.8326, allocations: 0 / 1.027 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.8326, allocations: 0 / 1.027 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004959/0.8331, allocations: 275.1 kB / 1.027 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.947e-05/0.8331, allocations: 88.92 kB / 1.027 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.8332, allocations: 0 / 1.027 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.8333, allocations: 19.98 kB / 1.027 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.881e-05/0.8334, allocations: 19.97 kB / 1.027 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.8334, allocations: 4 kB / 1.027 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.649e-05/0.8335, allocations: 117.2 kB / 1.028 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8335, allocations: 3.938 kB / 1.028 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002574/0.8338, allocations: 43.73 kB / 1.028 GB, free: 9.777 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001683/0.8339, allocations: 116.4 kB / 1.028 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004496/0.8344, allocations: 155.7 kB / 1.028 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.8344, allocations: 320 / 1.028 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.8346, allocations: 75.91 kB / 1.028 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.8349, allocations: 27.91 kB / 1.028 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006464/0.8355, allocations: 376.5 kB / 1.028 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.836, allocations: 0.7362 MB / 1.029 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001037/0.8361, allocations: 17.55 kB / 1.029 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/0.8362, allocations: 23.42 kB / 1.029 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of SimCode: time 4.31e-07/0.8362, allocations: 4 kB / 1.029 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of Templates: time 0.004433/0.8406, allocations: 1.229 MB / 1.03 GB, free: 7.027 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) 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","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches