Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.518/2.518, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001092/0.001092, allocations: 187.5 kB / 0.4902 GB, free: 2.234 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.631/1.631, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.000991/0.0009909, allocations: 91.39 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004701/0.0004704, allocations: 13.66 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3143, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1949/0.5093, allocations: 151.1 MB / 1.377 GB, free: 2.441 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.5096, allocations: 75.95 kB / 1.377 GB, free: 2.367 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007968/0.5175, allocations: 3.104 MB / 1.38 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.364e-06/0.5176, allocations: 0 / 1.38 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.5176, allocations: 4 kB / 1.38 GB, free: 15.25 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.0006541/0.5183, allocations: 471 kB / 1.38 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.5183, allocations: 8.562 kB / 1.38 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.796e-05/0.5184, allocations: 23.8 kB / 1.38 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.5186, allocations: 188.4 kB / 1.381 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.5186, allocations: 16.44 kB / 1.381 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.58e-05/0.5187, allocations: 20 kB / 1.381 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004565/0.5191, allocations: 203.3 kB / 1.381 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.5192, allocations: 0 / 1.381 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.5192, allocations: 8 kB / 1.381 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.5192, allocations: 4 kB / 1.381 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004239/0.5196, allocations: 185.6 kB / 1.381 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009217/0.5206, allocations: 0.6076 MB / 1.382 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003325/0.5209, allocations: 150.6 kB / 1.382 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.521, allocations: 3.953 kB / 1.382 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.521, allocations: 38.5 kB / 1.382 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.521, allocations: 0 / 1.382 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15): time 0.0006715/0.5217, allocations: 245.6 kB / 1.382 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.5217, allocations: 55.34 kB / 1.382 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.5219, allocations: 182 kB / 1.382 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.5219, allocations: 29.7 kB / 1.382 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.794e-05/0.522, allocations: 128.3 kB / 1.382 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.184e-05/0.5221, allocations: 43.52 kB / 1.382 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.137e-05/0.5221, allocations: 4 kB / 1.382 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.5223, allocations: 322.8 kB / 1.383 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.5224, allocations: 63.95 kB / 1.383 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.5226, allocations: 66.64 kB / 1.383 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.5228, allocations: 47.97 kB / 1.383 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5228, allocations: 0 / 1.383 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004828/0.5233, allocations: 185.4 kB / 1.383 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.5233, allocations: 9.203 kB / 1.383 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.5233, allocations: 7.938 kB / 1.383 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.5234, allocations: 0 / 1.383 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.5236, allocations: 35.91 kB / 1.383 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.5236, allocations: 0 / 1.383 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.5237, allocations: 19.89 kB / 1.383 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.5237, allocations: 4 kB / 1.383 GB, free: 11.72 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.0001205/0.5238, allocations: 129.8 kB / 1.383 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.548e-05/0.5239, allocations: 7.906 kB / 1.383 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.088e-05/0.5239, allocations: 33.47 kB / 1.383 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.5239, allocations: 4 kB / 1.383 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.524, allocations: 0 / 1.383 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.524, allocations: 0 / 1.383 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002901/0.5243, allocations: 277.4 kB / 1.384 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.5243, allocations: 0 / 1.384 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.5244, allocations: 35.91 kB / 1.384 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.5244, allocations: 4 kB / 1.384 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.5245, allocations: 4 kB / 1.384 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.5245, allocations: 3.953 kB / 1.384 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.5245, allocations: 0 / 1.384 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004466/0.5249, allocations: 277.5 kB / 1.384 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.809e-05/0.525, allocations: 96.86 kB / 1.384 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.525, allocations: 7.938 kB / 1.384 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.5252, allocations: 11.98 kB / 1.384 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.368e-05/0.5253, allocations: 31.86 kB / 1.384 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.5253, allocations: 4 kB / 1.384 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001086/0.5254, allocations: 136.1 kB / 1.384 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5254, allocations: 7.938 kB / 1.384 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002555/0.5257, allocations: 32 kB / 1.384 GB, free: 10.55 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.000166/0.5258, allocations: 112.6 kB / 1.384 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004376/0.5263, allocations: 155.8 kB / 1.384 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5263, allocations: 0 / 1.384 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.5265, allocations: 87.89 kB / 1.385 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.5268, allocations: 24.12 kB / 1.385 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007099/0.5275, allocations: 379.6 kB / 1.385 GB, free: 9.777 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.5278, allocations: 0.7363 MB / 1.386 GB, free: 9.016 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 9.433e-05/0.5279, allocations: 13.42 kB / 1.386 GB, free: 9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.866e-05/0.528, allocations: 19.42 kB / 1.386 GB, free: 8.984 MB / 0.8855 GB Notification: Performance of SimCode: time 1.663e-06/0.528, allocations: 0 / 1.386 GB, free: 8.984 MB / 0.8855 GB Notification: Performance of Templates: time 0.004218/0.5322, allocations: 1.487 MB / 1.387 GB, free: 7.551 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches