Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001209, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001149/0.001149, allocations: 191 kB / 17.29 MB, free: 5.516 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.429/1.429, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.555/2.555, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002113, allocations: 61.3 kB / 0.8774 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.356, allocations: 153 MB / 1.027 GB, free: 1.969 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002758/0.3588, allocations: 1.312 MB / 1.028 GB, free: 0.6602 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.3602, allocations: 1.084 MB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.3604, allocations: 8 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000196/0.3606, allocations: 35.53 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.143e-05/0.3607, allocations: 39.59 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.361, allocations: 103.8 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003097/0.3613, allocations: 304.4 kB / 1.03 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002906/0.3616, allocations: 172.8 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.3618, allocations: 115.5 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.3619, allocations: 131.4 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.363e-05/0.362, allocations: 32 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.567e-05/0.362, allocations: 32 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.061e-05/0.3621, allocations: 67.77 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.3622, allocations: 131.3 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003424/0.3625, allocations: 410.4 kB / 1.031 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3625, allocations: 4 kB / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3626, allocations: 0 / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.3626, allocations: 0 / 1.031 GB, free: 14 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008148/0.3634, allocations: 0.5459 MB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3634, allocations: 8.031 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.777e-05/0.3635, allocations: 32.56 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005532/0.3641, allocations: 325.6 kB / 1.032 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.099e-05/0.3641, allocations: 24.88 kB / 1.032 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.896e-05/0.3642, allocations: 24.38 kB / 1.032 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004696/0.3646, allocations: 237.4 kB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3646, allocations: 4.172 kB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.3647, allocations: 15.94 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.3647, allocations: 4 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004321/0.3651, allocations: 190.1 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.3662, allocations: 0.6899 MB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004199/0.3666, allocations: 180.1 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.3668, allocations: 80.81 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.3668, allocations: 8 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.3669, allocations: 38.56 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=19): time 1.623e-06/0.3669, allocations: 0 / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of matching and sorting (n=19): time 0.0006448/0.3675, allocations: 226.8 kB / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.3676, allocations: 59.39 kB / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.3678, allocations: 215.6 kB / 1.033 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.3678, allocations: 29.7 kB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.3679, allocations: 164.3 kB / 1.034 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.948e-05/0.368, allocations: 51.28 kB / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.545e-05/0.3681, allocations: 57.92 kB / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3682, allocations: 330.8 kB / 1.034 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.3684, allocations: 72.42 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.3686, allocations: 117.2 kB / 1.034 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003364/0.3689, allocations: 180.6 kB / 1.034 GB, free: 9.871 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3689, allocations: 0 / 1.034 GB, free: 9.871 MB / 0.8106 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004439/0.3694, allocations: 229.1 kB / 1.035 GB, free: 9.641 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3694, allocations: 4 kB / 1.035 GB, free: 9.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3694, allocations: 4 kB / 1.035 GB, free: 9.633 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.3694, allocations: 4 kB / 1.035 GB, free: 9.629 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.3696, allocations: 48.12 kB / 1.035 GB, free: 9.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.3697, allocations: 0 / 1.035 GB, free: 9.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.3698, allocations: 23.83 kB / 1.035 GB, free: 9.559 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.3699, allocations: 12 kB / 1.035 GB, free: 9.547 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 17 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.y,actAirSet.gre.greHys.y,$PRE.actAirSet.gre.greHys.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 (27): * Single equations (assignments): 27 * 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.0001444/0.37, allocations: 153.7 kB / 1.035 GB, free: 9.387 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.312e-05/0.3701, allocations: 19.72 kB / 1.035 GB, free: 9.367 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.536e-05/0.3701, allocations: 29.86 kB / 1.035 GB, free: 9.344 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3701, allocations: 4 kB / 1.035 GB, free: 9.34 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.3701, allocations: 0 / 1.035 GB, free: 9.34 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3701, allocations: 0 / 1.035 GB, free: 9.34 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003101/0.3705, allocations: 301.5 kB / 1.035 GB, free: 8.996 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3705, allocations: 0 / 1.035 GB, free: 8.996 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.3706, allocations: 23.97 kB / 1.035 GB, free: 8.973 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3706, allocations: 0 / 1.035 GB, free: 8.973 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.3706, allocations: 8 kB / 1.035 GB, free: 8.965 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.3707, allocations: 0 / 1.035 GB, free: 8.965 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3707, allocations: 15.86 kB / 1.035 GB, free: 8.949 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004251/0.3711, allocations: 285.7 kB / 1.035 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.523e-05/0.3712, allocations: 96.84 kB / 1.036 GB, free: 8.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/0.3712, allocations: 8 kB / 1.036 GB, free: 8.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.3713, allocations: 7.984 kB / 1.036 GB, free: 8.527 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.853e-05/0.3714, allocations: 35.95 kB / 1.036 GB, free: 8.492 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.3715, allocations: 4 kB / 1.036 GB, free: 8.488 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001044/0.3716, allocations: 149.4 kB / 1.036 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3716, allocations: 0 / 1.036 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003019/0.3719, allocations: 47.75 kB / 1.036 GB, free: 8.297 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.gre.greHys.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0001416/0.372, allocations: 111.2 kB / 1.036 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004534/0.3725, allocations: 171.8 kB / 1.036 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3725, allocations: 0 / 1.036 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.3727, allocations: 87.83 kB / 1.036 GB, free: 7.926 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.373, allocations: 33.89 kB / 1.036 GB, free: 7.895 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007866/0.3738, allocations: 400.7 kB / 1.037 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.3741, allocations: 0.7487 MB / 1.037 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001225/0.3743, allocations: 25.95 kB / 1.037 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.288e-05/0.3743, allocations: 27.42 kB / 1.037 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.3743, allocations: 0 / 1.037 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of Templates: time 0.005382/0.3797, allocations: 1.96 MB / 1.039 GB, free: 4.754 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches