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.001597/0.001597, allocations: 100.1 kB / 15.88 MB, free: 12 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.001902/0.001902, allocations: 196.1 kB / 16.79 MB, free: 6.809 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.44/1.44, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.856/2.856, allocations: 461.9 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001428, allocations: 64.92 kB / 0.8991 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3442, allocations: 157.4 MB / 1.053 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002929/0.3472, allocations: 1.184 MB / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001632/0.3489, allocations: 1.002 MB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001961/0.3491, allocations: 4 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.68e-05/0.3492, allocations: 15.84 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001646/0.3494, allocations: 23.81 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.3497, allocations: 71.94 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003085/0.35, allocations: 208.2 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003237/0.3503, allocations: 124.1 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002017/0.3505, allocations: 87.58 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.3507, allocations: 87.55 kB / 1.056 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.185e-05/0.3507, allocations: 12 kB / 1.056 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.259e-05/0.3508, allocations: 12 kB / 1.056 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.513e-05/0.3508, allocations: 43.77 kB / 1.056 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.351, allocations: 91.45 kB / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002556/0.3512, allocations: 235.7 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3512, allocations: 0 / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3512, allocations: 0 / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.3512, allocations: 0 / 1.056 GB, free: 5.059 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.001005/0.3523, allocations: 0.4991 MB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.3523, allocations: 11.97 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.362e-05/0.3524, allocations: 24.66 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005672/0.353, allocations: 285.8 kB / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.353, allocations: 12.81 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.702e-05/0.3531, allocations: 20.38 kB / 1.057 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004624/0.3535, allocations: 199.8 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3535, allocations: 192 / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.3536, allocations: 19.88 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.3536, allocations: 4 kB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004636/0.3541, allocations: 157.6 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009919/0.3551, allocations: 0.5878 MB / 1.058 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004168/0.3555, allocations: 162.6 kB / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.3557, allocations: 68.81 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.3557, allocations: 8.062 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.3558, allocations: 30.56 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=17): time 1.663e-06/0.3558, allocations: 4 kB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of matching and sorting (n=17): time 0.0006888/0.3565, allocations: 222.8 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.3565, allocations: 59.33 kB / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.3567, allocations: 179.7 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.3568, allocations: 29.7 kB / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.769e-05/0.3569, allocations: 128.2 kB / 1.059 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.357, allocations: 55.28 kB / 1.059 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.211e-05/0.3571, allocations: 61.69 kB / 1.059 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.3572, allocations: 322.8 kB / 1.059 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.3574, allocations: 55.95 kB / 1.059 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.3576, allocations: 98.8 kB / 1.059 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000324/0.3579, allocations: 150.4 kB / 1.059 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.3579, allocations: 0 / 1.059 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004381/0.3584, allocations: 198.7 kB / 1.059 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3584, allocations: 4 kB / 1.059 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.3584, allocations: 0 / 1.059 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3584, allocations: 8.094 kB / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.3586, allocations: 35.98 kB / 1.059 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.3586, allocations: 7.922 kB / 1.059 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.3588, allocations: 19.84 kB / 1.059 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.3588, allocations: 12 kB / 1.06 GB, free: 1.113 MB / 0.8106 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.0001984/0.359, allocations: 133.8 kB / 1.06 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.58e-05/0.359, allocations: 19.75 kB / 1.06 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.484e-05/0.3591, allocations: 25.88 kB / 1.06 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3591, allocations: 0 / 1.06 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.3591, allocations: 0 / 1.06 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.3591, allocations: 7.922 kB / 1.06 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000308/0.3594, allocations: 273.4 kB / 1.06 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.3595, allocations: 0 / 1.06 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.3596, allocations: 23.98 kB / 1.06 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.3596, allocations: 4 kB / 1.06 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.3596, allocations: 3.938 kB / 1.06 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3596, allocations: 0 / 1.06 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3596, allocations: 4 kB / 1.06 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000423/0.3601, allocations: 265.5 kB / 1.06 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.037e-05/0.3601, allocations: 92.86 kB / 1.06 GB, free: 192 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.3602, allocations: 8 kB / 1.06 GB, free: 184 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.3603, allocations: 11.97 kB / 1.06 GB, free: 172 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.233e-05/0.3604, allocations: 27.97 kB / 1.06 GB, free: 144 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.3604, allocations: 4 kB / 1.06 GB, free: 140 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.071e-05/0.3605, allocations: 124.2 kB / 1.06 GB, free: 16 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3605, allocations: 0 / 1.06 GB, free: 16 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003051/0.3608, allocations: 35.89 kB / 1.061 GB, free: 15.98 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.0001509/0.361, allocations: 111.2 kB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004258/0.3614, allocations: 155.7 kB / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3614, allocations: 0 / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.3616, allocations: 75.89 kB / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.3619, allocations: 21.2 kB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008655/0.3628, allocations: 440.1 kB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.3632, allocations: 0.7322 MB / 1.062 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.794e-05/0.3633, allocations: 23.44 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of SimCode: time 3.9e-07/0.3633, allocations: 0 / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of Templates: time 0.004499/0.3678, allocations: 2.156 MB / 1.064 GB, free: 12.22 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