Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.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_11_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_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01006/0.01006, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.521/1.521, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.084/3.084, allocations: 470.6 MB / 0.7442 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003574, allocations: 14.66 kB / 0.9123 GB, free: 34.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3796, allocations: 161.4 MB / 1.07 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.001777/0.3814, allocations: 0.8241 MB / 1.071 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001679/0.3832, allocations: 0.9986 MB / 1.072 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.3833, allocations: 4 kB / 1.072 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.73e-05/0.3834, allocations: 11.86 kB / 1.072 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.3836, allocations: 23.84 kB / 1.072 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.3838, allocations: 71.89 kB / 1.072 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.3841, allocations: 204.2 kB / 1.072 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002923/0.3844, allocations: 120.1 kB / 1.072 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.3846, allocations: 71.58 kB / 1.072 GB, free: 9 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.3848, allocations: 71.5 kB / 1.072 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.3849, allocations: 8 kB / 1.072 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.27e-05/0.3849, allocations: 4 kB / 1.072 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.199e-05/0.3849, allocations: 35.83 kB / 1.072 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.3851, allocations: 101.1 kB / 1.072 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003447/0.3854, allocations: 271.2 kB / 1.073 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3854, allocations: 3.938 kB / 1.073 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.735e-06/0.3854, allocations: 0 / 1.073 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.3854, allocations: 0 / 1.073 GB, free: 8.508 MB / 0.8262 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.0008962/0.3864, allocations: 471.2 kB / 1.073 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.3864, allocations: 8.031 kB / 1.073 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.349e-05/0.3865, allocations: 24.66 kB / 1.073 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005657/0.3871, allocations: 284.3 kB / 1.073 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.477e-05/0.3871, allocations: 20.81 kB / 1.073 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.822e-05/0.3872, allocations: 20.38 kB / 1.073 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004791/0.3876, allocations: 203.8 kB / 1.074 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.3877, allocations: 192 / 1.074 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.934e-05/0.3877, allocations: 15.94 kB / 1.074 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.3877, allocations: 11.94 kB / 1.074 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004613/0.3882, allocations: 173.6 kB / 1.074 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.3893, allocations: 0.5917 MB / 1.074 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004251/0.3897, allocations: 174.6 kB / 1.075 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002064/0.3899, allocations: 76.83 kB / 1.075 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.39, allocations: 0 / 1.075 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.39, allocations: 30.56 kB / 1.075 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 1.233e-06/0.39, allocations: 0 / 1.075 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.0006952/0.3907, allocations: 242.4 kB / 1.075 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.3908, allocations: 55.41 kB / 1.075 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.391, allocations: 178.2 kB / 1.075 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.391, allocations: 29.7 kB / 1.075 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.3911, allocations: 140.1 kB / 1.075 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.738e-05/0.3912, allocations: 51.47 kB / 1.075 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.751e-05/0.3912, allocations: 41.69 kB / 1.075 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3914, allocations: 322.8 kB / 1.076 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.3916, allocations: 63.95 kB / 1.076 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002285/0.3918, allocations: 101.1 kB / 1.076 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003773/0.3922, allocations: 154.8 kB / 1.076 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3922, allocations: 3.938 kB / 1.076 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000483/0.3927, allocations: 211.7 kB / 1.076 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.3927, allocations: 7.984 kB / 1.076 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.3928, allocations: 4 kB / 1.076 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.3928, allocations: 4.156 kB / 1.076 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.393, allocations: 35.98 kB / 1.076 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.393, allocations: 0 / 1.076 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.3931, allocations: 23.83 kB / 1.076 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.3932, allocations: 15.94 kB / 1.076 GB, free: 4.523 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.0001888/0.3934, allocations: 137.8 kB / 1.076 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/0.3934, allocations: 19.75 kB / 1.076 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.283e-05/0.3935, allocations: 17.88 kB / 1.076 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.3935, allocations: 4 kB / 1.076 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.3935, allocations: 0 / 1.076 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.3935, allocations: 3.984 kB / 1.076 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003589/0.3939, allocations: 269.5 kB / 1.077 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.3939, allocations: 7.922 kB / 1.077 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.394, allocations: 31.92 kB / 1.077 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3941, allocations: 0 / 1.077 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.3941, allocations: 0 / 1.077 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.3941, allocations: 4 kB / 1.077 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3941, allocations: 3.938 kB / 1.077 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000489/0.3946, allocations: 267.3 kB / 1.077 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.888e-05/0.3947, allocations: 96.8 kB / 1.077 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.3947, allocations: 8 kB / 1.077 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.3948, allocations: 11.98 kB / 1.077 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.928e-05/0.3949, allocations: 27.91 kB / 1.077 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.3949, allocations: 4 kB / 1.077 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000105/0.3951, allocations: 124.2 kB / 1.077 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3951, allocations: 3.938 kB / 1.077 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002951/0.3954, allocations: 39.84 kB / 1.077 GB, free: 3.371 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.0001691/0.3955, allocations: 107.2 kB / 1.077 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004721/0.396, allocations: 166.1 kB / 1.078 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.396, allocations: 3.938 kB / 1.078 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.3962, allocations: 80.27 kB / 1.078 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.3966, allocations: 33.98 kB / 1.078 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007604/0.3973, allocations: 416.4 kB / 1.078 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.3977, allocations: 0.7361 MB / 1.079 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001152/0.3979, allocations: 25.53 kB / 1.079 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.227e-05/0.3979, allocations: 19.42 kB / 1.079 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of SimCode: time 3.4e-07/0.398, allocations: 0 / 1.079 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of Templates: time 0.005153/0.4031, allocations: 1.331 MB / 1.08 GB, free: 476 kB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches