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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.351/2.351, allocations: 393.5 MB / 408.4 MB, free: 11.06 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 191.1 kB / 0.4902 GB, free: 2.289 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 223.1 MB / 0.7992 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 100.3 kB / 0.9396 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003462/0.0003462, allocations: 10.66 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3055, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1979/0.5035, allocations: 151.1 MB / 1.377 GB, free: 2.367 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/0.5038, allocations: 78.75 kB / 1.377 GB, free: 2.293 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009564/0.5134, allocations: 3.1 MB / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.877e-06/0.5135, allocations: 4 kB / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.004e-05/0.5135, allocations: 4 kB / 1.38 GB, free: 15.18 MB / 0.8855 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.000997/0.5145, allocations: 467 kB / 1.38 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.511e-05/0.5146, allocations: 11.97 kB / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.5147, allocations: 19.81 kB / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.515, allocations: 194.7 kB / 1.381 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.118e-05/0.515, allocations: 20.44 kB / 1.381 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.124e-05/0.5151, allocations: 20 kB / 1.381 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006156/0.5157, allocations: 195.3 kB / 1.381 GB, free: 14.17 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.5157, allocations: 0 / 1.381 GB, free: 14.17 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.5158, allocations: 8 kB / 1.381 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.5158, allocations: 8 kB / 1.381 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006238/0.5164, allocations: 173.6 kB / 1.381 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.5178, allocations: 0.6154 MB / 1.382 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004764/0.5183, allocations: 158.5 kB / 1.382 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.415e-05/0.5183, allocations: 3.953 kB / 1.382 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.5184, allocations: 30.56 kB / 1.382 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=15): time 2.154e-06/0.5184, allocations: 4 kB / 1.382 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15): time 0.0009267/0.5193, allocations: 245.6 kB / 1.382 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.5194, allocations: 55.41 kB / 1.382 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.5196, allocations: 178 kB / 1.382 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.5197, allocations: 29.7 kB / 1.382 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.5198, allocations: 128.3 kB / 1.382 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.546e-05/0.5199, allocations: 43.45 kB / 1.382 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.417e-05/0.5199, allocations: 8 kB / 1.382 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.52, allocations: 322.8 kB / 1.383 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002373/0.5203, allocations: 59.97 kB / 1.383 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/0.5205, allocations: 63.95 kB / 1.383 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/0.5208, allocations: 61.88 kB / 1.383 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5208, allocations: 0 / 1.383 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000572/0.5214, allocations: 181.4 kB / 1.383 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.514e-05/0.5214, allocations: 7.953 kB / 1.383 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.5214, allocations: 0 / 1.383 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.5215, allocations: 0 / 1.383 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/0.5217, allocations: 31.91 kB / 1.383 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.5218, allocations: 0 / 1.383 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.5219, allocations: 23.91 kB / 1.383 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.522, allocations: 7.984 kB / 1.383 GB, free: 11.64 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0002105/0.5222, allocations: 132.6 kB / 1.383 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.509e-05/0.5223, allocations: 11.91 kB / 1.383 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.177e-05/0.5224, allocations: 25.48 kB / 1.383 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.5224, allocations: 0 / 1.383 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.5224, allocations: 3.984 kB / 1.383 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.5224, allocations: 0 / 1.383 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004492/0.5229, allocations: 285.4 kB / 1.384 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.5229, allocations: 3.984 kB / 1.384 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.5231, allocations: 27.92 kB / 1.384 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.5231, allocations: 0 / 1.384 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.5231, allocations: 0 / 1.384 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/0.5231, allocations: 7.953 kB / 1.384 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5232, allocations: 0 / 1.384 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006581/0.5238, allocations: 277.4 kB / 1.384 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.487e-05/0.5239, allocations: 96.8 kB / 1.384 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.902e-05/0.524, allocations: 7.984 kB / 1.384 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.5242, allocations: 16 kB / 1.384 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.5243, allocations: 35.84 kB / 1.384 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.5243, allocations: 4 kB / 1.384 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001515/0.5245, allocations: 136 kB / 1.384 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5245, allocations: 0 / 1.384 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004303/0.525, allocations: 36 kB / 1.384 GB, free: 10.47 MB / 0.8855 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.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.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.0002063/0.5252, allocations: 111.2 kB / 1.384 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005929/0.5258, allocations: 155.8 kB / 1.384 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.5258, allocations: 0 / 1.384 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002832/0.5261, allocations: 83.95 kB / 1.385 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.5265, allocations: 20.11 kB / 1.385 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.5275, allocations: 386.7 kB / 1.385 GB, free: 9.699 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004751/0.528, allocations: 0.7323 MB / 1.386 GB, free: 8.941 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001363/0.5282, allocations: 21.42 kB / 1.386 GB, free: 8.918 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.532e-05/0.5282, allocations: 15.44 kB / 1.386 GB, free: 8.906 MB / 0.8855 GB Notification: Performance of SimCode: time 3.3e-07/0.5283, allocations: 0 / 1.386 GB, free: 8.906 MB / 0.8855 GB Notification: Performance of Templates: time 0.006129/0.5344, allocations: 1.481 MB / 1.387 GB, free: 7.484 MB / 0.8855 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