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.0009192/0.0009194, allocations: 92.39 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.001155/0.001155, allocations: 178.6 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.498/1.498, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.898/2.898, allocations: 462.6 MB / 0.737 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003853/0.0003854, allocations: 12.66 kB / 0.9035 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3559, allocations: 159.6 MB / 1.059 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.001542/0.3574, allocations: 0.8295 MB / 1.06 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.3588, allocations: 1.002 MB / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.359, allocations: 4 kB / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.357e-05/0.3591, allocations: 11.86 kB / 1.061 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.3593, allocations: 23.81 kB / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.3595, allocations: 71.86 kB / 1.061 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002655/0.3598, allocations: 212.2 kB / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002711/0.3601, allocations: 120.1 kB / 1.062 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.3603, allocations: 63.59 kB / 1.062 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.3604, allocations: 67.58 kB / 1.062 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.681e-05/0.3604, allocations: 8 kB / 1.062 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.863e-05/0.3605, allocations: 4 kB / 1.062 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.08e-05/0.3605, allocations: 39.77 kB / 1.062 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.3606, allocations: 97.19 kB / 1.062 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.3609, allocations: 235.6 kB / 1.062 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3609, allocations: 0 / 1.062 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3609, allocations: 0 / 1.062 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.3609, allocations: 0 / 1.062 GB, free: 2.102 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007055/0.3616, allocations: 471.2 kB / 1.063 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.3617, allocations: 11.97 kB / 1.063 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.166e-05/0.3617, allocations: 24.66 kB / 1.063 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000515/0.3623, allocations: 288.2 kB / 1.063 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.279e-05/0.3623, allocations: 20.81 kB / 1.063 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.3624, allocations: 20.38 kB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004264/0.3628, allocations: 203.8 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3628, allocations: 192 / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.364e-05/0.3628, allocations: 11.94 kB / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.3629, allocations: 12 kB / 1.063 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004192/0.3633, allocations: 165.7 kB / 1.063 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008777/0.3642, allocations: 0.5994 MB / 1.064 GB, free: 160 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003915/0.3646, allocations: 162.7 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/0.3648, allocations: 76.77 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.3648, allocations: 4 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.3648, allocations: 30.56 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 2.965e-06/0.3648, allocations: 0 / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.0006464/0.3655, allocations: 238.6 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.3655, allocations: 59.34 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.3657, allocations: 179.7 kB / 1.065 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.3657, allocations: 29.7 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.201e-05/0.3658, allocations: 132.2 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/0.3659, allocations: 55.36 kB / 1.065 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-05/0.3659, allocations: 41.7 kB / 1.065 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.3661, allocations: 322.8 kB / 1.065 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.3662, allocations: 59.95 kB / 1.065 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.3665, allocations: 114.7 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003563/0.3668, allocations: 158.8 kB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3668, allocations: 0 / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004604/0.3673, allocations: 213.1 kB / 1.066 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.3673, allocations: 5.719 kB / 1.066 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.3674, allocations: 4 kB / 1.066 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.3674, allocations: 3.938 kB / 1.066 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.3676, allocations: 48.06 kB / 1.066 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.892e-06/0.3676, allocations: 0 / 1.066 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.3677, allocations: 23.83 kB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.3678, allocations: 8 kB / 1.066 GB, free: 14.11 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.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 (22): * Single equations (assignments): 22 * 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.0001519/0.3679, allocations: 141.8 kB / 1.066 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.443e-05/0.368, allocations: 15.75 kB / 1.066 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.723e-05/0.368, allocations: 21.88 kB / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.368, allocations: 7.984 kB / 1.066 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.368, allocations: 4 kB / 1.066 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.368, allocations: 0 / 1.066 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.3683, allocations: 269.5 kB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.3684, allocations: 3.938 kB / 1.066 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.3685, allocations: 23.98 kB / 1.066 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3685, allocations: 4 kB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.3685, allocations: 7.969 kB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3685, allocations: 0 / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3685, allocations: 4 kB / 1.066 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004437/0.369, allocations: 271.1 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.902e-05/0.3691, allocations: 96.8 kB / 1.067 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.3691, allocations: 8 kB / 1.067 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.3692, allocations: 11.98 kB / 1.067 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.452e-05/0.3693, allocations: 23.97 kB / 1.067 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.3693, allocations: 4 kB / 1.067 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.464e-05/0.3694, allocations: 124.2 kB / 1.067 GB, free: 13 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3694, allocations: 0 / 1.067 GB, free: 13 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002819/0.3697, allocations: 39.84 kB / 1.067 GB, free: 12.96 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001304/0.3698, allocations: 111.2 kB / 1.067 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004486/0.3703, allocations: 165 kB / 1.067 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3703, allocations: 0 / 1.067 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.3705, allocations: 83.89 kB / 1.067 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.3708, allocations: 28.23 kB / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007217/0.3716, allocations: 448.1 kB / 1.068 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.3719, allocations: 0.7361 MB / 1.068 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.723e-05/0.372, allocations: 23.42 kB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of SimCode: time 4.91e-07/0.372, allocations: 0 / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of Templates: time 0.004224/0.3762, allocations: 2.131 MB / 1.07 GB, free: 9.195 MB / 0.8262 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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