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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.006827/0.006826, allocations: 100.8 kB / 15.73 MB, free: 6.027 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.001461/0.001461, allocations: 183.5 kB / 16.67 MB, free: 5.965 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.514/1.514, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.877/2.877, allocations: 461.9 MB / 0.7347 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002399/0.002399, allocations: 63.91 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4655/0.4679, allocations: 157.4 MB / 1.208 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.003581/0.4716, allocations: 1.135 MB / 1.209 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001655/0.4733, allocations: 1.014 MB / 1.21 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000219/0.4735, allocations: 4 kB / 1.21 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.4737, allocations: 23.67 kB / 1.21 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002397/0.474, allocations: 35.73 kB / 1.21 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003398/0.4743, allocations: 83.84 kB / 1.21 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003989/0.4747, allocations: 228.2 kB / 1.21 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003646/0.4751, allocations: 128.6 kB / 1.21 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002894/0.4754, allocations: 95.59 kB / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002225/0.4756, allocations: 99.53 kB / 1.211 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.277e-05/0.4757, allocations: 24 kB / 1.211 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.941e-05/0.4757, allocations: 24 kB / 1.211 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.735e-05/0.4758, allocations: 55.83 kB / 1.211 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.476, allocations: 107.3 kB / 1.211 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004257/0.4764, allocations: 310.8 kB / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.4764, allocations: 0 / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4764, allocations: 0 / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.687e-05/0.4764, allocations: 7.922 kB / 1.211 GB, free: 6.234 MB / 0.9669 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.001042/0.4775, allocations: 0.4913 MB / 1.212 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 7.425e-05/0.4776, allocations: 8.625 kB / 1.212 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.4777, allocations: 28.59 kB / 1.212 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006817/0.4784, allocations: 268.3 kB / 1.212 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.545e-05/0.4785, allocations: 16.81 kB / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.925e-05/0.4785, allocations: 24.38 kB / 1.212 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005879/0.4791, allocations: 199.8 kB / 1.212 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.4791, allocations: 192 / 1.212 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/0.4792, allocations: 15.94 kB / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.4792, allocations: 4 kB / 1.212 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005835/0.4798, allocations: 157.6 kB / 1.212 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.481, allocations: 0.5878 MB / 1.213 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000488/0.4815, allocations: 160.6 kB / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002684/0.4818, allocations: 74.44 kB / 1.213 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.588e-05/0.4818, allocations: 8 kB / 1.213 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.4819, allocations: 30.56 kB / 1.213 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=17): time 1.893e-06/0.4819, allocations: 0 / 1.213 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=17): time 0.000821/0.4827, allocations: 217.3 kB / 1.213 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.4828, allocations: 51.41 kB / 1.213 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/0.483, allocations: 195.4 kB / 1.213 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.483, allocations: 25.7 kB / 1.214 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.4832, allocations: 144.2 kB / 1.214 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.259e-05/0.4832, allocations: 43.38 kB / 1.214 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.4833, allocations: 57.59 kB / 1.214 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.4835, allocations: 326.8 kB / 1.214 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/0.4837, allocations: 55.95 kB / 1.214 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.484, allocations: 101.1 kB / 1.214 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004443/0.4845, allocations: 146.4 kB / 1.214 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.4845, allocations: 0 / 1.214 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006026/0.4851, allocations: 202.6 kB / 1.215 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.4851, allocations: 8 kB / 1.215 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.4851, allocations: 4 kB / 1.215 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.4852, allocations: 0 / 1.215 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.4854, allocations: 27.98 kB / 1.215 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.702e-05/0.4854, allocations: 7.984 kB / 1.215 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.4856, allocations: 23.75 kB / 1.215 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.4857, allocations: 7.984 kB / 1.215 GB, free: 2.316 MB / 0.9669 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.0002798/0.486, allocations: 146.2 kB / 1.215 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.089e-05/0.486, allocations: 19.78 kB / 1.215 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.493e-05/0.4861, allocations: 21.88 kB / 1.215 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.4861, allocations: 0 / 1.215 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/0.4861, allocations: 4 kB / 1.215 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.4861, allocations: 3.984 kB / 1.215 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004016/0.4866, allocations: 273.4 kB / 1.215 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4866, allocations: 3.938 kB / 1.215 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/0.4868, allocations: 27.92 kB / 1.215 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.4868, allocations: 4 kB / 1.215 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.4868, allocations: 0 / 1.215 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4868, allocations: 0 / 1.215 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.4868, allocations: 4 kB / 1.215 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005519/0.4874, allocations: 261.3 kB / 1.215 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.486e-05/0.4875, allocations: 96.86 kB / 1.215 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.4875, allocations: 8 kB / 1.215 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.4877, allocations: 7.984 kB / 1.215 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.4878, allocations: 27.91 kB / 1.215 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.4878, allocations: 4 kB / 1.215 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001252/0.488, allocations: 119.2 kB / 1.216 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.61e-07/0.488, allocations: 0 / 1.216 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004092/0.4884, allocations: 35.84 kB / 1.216 GB, free: 1.184 MB / 0.9669 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.0001715/0.4886, allocations: 115.2 kB / 1.216 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005632/0.4891, allocations: 143.8 kB / 1.216 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.4892, allocations: 3.938 kB / 1.216 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002472/0.4894, allocations: 77.58 kB / 1.216 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004127/0.4898, allocations: 28.19 kB / 1.216 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009173/0.4908, allocations: 343.4 kB / 1.216 GB, free: 464 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.4912, allocations: 0.7397 MB / 1.217 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001351/0.4913, allocations: 21.53 kB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.599e-05/0.4914, allocations: 23.42 kB / 1.217 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of SimCode: time 5.92e-07/0.4914, allocations: 0 / 1.217 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of Templates: time 0.006707/0.4981, allocations: 1.489 MB / 1.219 GB, free: 14.21 MB / 0.9825 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/jenkins/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