Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.0009662/0.0009662, allocations: 99.58 kB / 16.02 MB, free: 76 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.00116/0.00116, allocations: 181.7 kB / 16.92 MB, free: 6.918 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.418/1.418, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.439/2.439, allocations: 390.9 MB / 0.667 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003663/0.0003663, allocations: 8 kB / 0.8167 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6743/0.6747, allocations: 142.4 MB / 0.9558 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.001224/0.676, allocations: 0.8078 MB / 0.9565 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009555/0.6769, allocations: 0.9955 MB / 0.9575 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.217e-05/0.677, allocations: 2.75 kB / 0.9575 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.016e-05/0.6771, allocations: 11.86 kB / 0.9575 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.6772, allocations: 18.38 kB / 0.9576 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.6774, allocations: 70.22 kB / 0.9576 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.6775, allocations: 206.2 kB / 0.9578 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/0.6778, allocations: 114.4 kB / 0.9579 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.6779, allocations: 64.47 kB / 0.958 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.929e-05/0.678, allocations: 72.89 kB / 0.9581 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.608e-05/0.678, allocations: 4.969 kB / 0.9581 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.884e-05/0.678, allocations: 5.156 kB / 0.9581 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.629e-05/0.6781, allocations: 26.2 kB / 0.9581 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.973e-05/0.6781, allocations: 95.64 kB / 0.9582 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.6783, allocations: 217.1 kB / 0.9584 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.6783, allocations: 1.938 kB / 0.9584 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6783, allocations: 0 / 0.9584 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.6783, allocations: 0 / 0.9584 GB, free: 5.664 MB / 0.7169 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.000521/0.6789, allocations: 464.1 kB / 0.9588 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.6789, allocations: 7.875 kB / 0.9588 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.999e-05/0.679, allocations: 24.22 kB / 0.9589 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004098/0.6794, allocations: 291 kB / 0.9591 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.6794, allocations: 17.59 kB / 0.9592 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.6794, allocations: 17.31 kB / 0.9592 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003717/0.6798, allocations: 193.8 kB / 0.9594 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.6798, allocations: 0 / 0.9594 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.6799, allocations: 14.06 kB / 0.9594 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.6799, allocations: 4.344 kB / 0.9594 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000405/0.6803, allocations: 161.4 kB / 0.9595 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006503/0.6809, allocations: 0.5717 MB / 0.9601 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.6812, allocations: 138.6 kB / 0.9602 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.6814, allocations: 64.58 kB / 0.9603 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.6814, allocations: 5.375 kB / 0.9603 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/0.6814, allocations: 35.94 kB / 0.9603 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.6815, allocations: 0 / 0.9603 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0005517/0.682, allocations: 228.5 kB / 0.9605 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.682, allocations: 56.77 kB / 0.9606 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.6822, allocations: 171.9 kB / 0.9608 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.6822, allocations: 31.08 kB / 0.9608 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.557e-05/0.6823, allocations: 139.1 kB / 0.9609 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.6823, allocations: 44.95 kB / 0.961 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.6823, allocations: 40.7 kB / 0.961 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.383e-05/0.6824, allocations: 321.6 kB / 0.9613 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.6825, allocations: 56.95 kB / 0.9614 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.6827, allocations: 110.3 kB / 0.9615 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/0.683, allocations: 151.2 kB / 0.9616 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.683, allocations: 1.406 kB / 0.9616 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004152/0.6835, allocations: 197.3 kB / 0.9618 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.6835, allocations: 4.75 kB / 0.9618 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.6835, allocations: 5.5 kB / 0.9618 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.6835, allocations: 6.359 kB / 0.9618 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.6837, allocations: 38.48 kB / 0.9619 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.6837, allocations: 2.031 kB / 0.9619 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.6838, allocations: 27.02 kB / 0.9619 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.6839, allocations: 8.75 kB / 0.9619 GB, free: 2.805 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.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 (20): * Single equations (assignments): 20 * 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 9.659e-05/0.684, allocations: 130.2 kB / 0.962 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.684, allocations: 17.89 kB / 0.962 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.213e-05/0.6841, allocations: 20.69 kB / 0.9621 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.6841, allocations: 2.219 kB / 0.9621 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.6841, allocations: 0 / 0.9621 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.6841, allocations: 1.281 kB / 0.9621 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.6843, allocations: 261.4 kB / 0.9623 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.6843, allocations: 0 / 0.9623 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.6845, allocations: 26.42 kB / 0.9623 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.6845, allocations: 1 kB / 0.9623 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.6845, allocations: 16.95 kB / 0.9623 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.6845, allocations: 0.9688 kB / 0.9623 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6845, allocations: 1 kB / 0.9623 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004027/0.6849, allocations: 262.4 kB / 0.9626 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.259e-05/0.685, allocations: 93.09 kB / 0.9627 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.685, allocations: 13.06 kB / 0.9627 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.6851, allocations: 12.08 kB / 0.9627 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.087e-05/0.6852, allocations: 20.59 kB / 0.9627 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.6852, allocations: 6.625 kB / 0.9627 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.993e-05/0.6853, allocations: 123.7 kB / 0.9629 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6853, allocations: 4 kB / 0.9629 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002645/0.6856, allocations: 40.81 kB / 0.9629 GB, free: 1.922 MB / 0.7169 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.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.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 (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.0001095/0.6857, allocations: 105.3 kB / 0.963 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003915/0.6861, allocations: 152.5 kB / 0.9631 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.6861, allocations: 4 kB / 0.9631 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.6863, allocations: 74.83 kB / 0.9632 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.6866, allocations: 19.69 kB / 0.9632 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005631/0.6871, allocations: 435 kB / 0.9637 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.6873, allocations: 0.7283 MB / 0.9644 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.151e-05/0.6874, allocations: 22.41 kB / 0.9644 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.6874, allocations: 1.125 kB / 0.9644 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of Templates: time 0.003552/0.6909, allocations: 2.037 MB / 0.9664 GB, free: 15.6 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches