Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.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_11_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_11_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.009109/0.009109, allocations: 96.77 kB / 15.73 MB, free: 5.988 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.001386/0.001386, allocations: 188 kB / 16.67 MB, free: 5.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.574/1.574, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.019/3.019, allocations: 469.8 MB / 0.7425 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 71.89 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3481, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002661/0.3508, allocations: 1.308 MB / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.3523, allocations: 1.084 MB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.3525, allocations: 4 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002049/0.3527, allocations: 39.53 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.61e-05/0.3528, allocations: 39.56 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.3531, allocations: 115.8 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002871/0.3533, allocations: 292.4 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002378/0.3536, allocations: 132.8 kB / 1.224 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.3537, allocations: 115.5 kB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.3539, allocations: 131.3 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.311e-05/0.3539, allocations: 32 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.539e-05/0.354, allocations: 32 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.232e-05/0.354, allocations: 67.83 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.3541, allocations: 131.3 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004156/0.3545, allocations: 410.2 kB / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3546, allocations: 0 / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3546, allocations: 0 / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.3546, allocations: 0 / 1.224 GB, free: 9.883 MB / 0.9825 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.0009101/0.3555, allocations: 0.5533 MB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.3555, allocations: 16.03 kB / 1.225 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.503e-05/0.3556, allocations: 36.75 kB / 1.225 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000598/0.3562, allocations: 337 kB / 1.225 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.636e-05/0.3562, allocations: 20.92 kB / 1.225 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.675e-05/0.3563, allocations: 28.38 kB / 1.225 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000469/0.3567, allocations: 233.4 kB / 1.226 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3567, allocations: 4.188 kB / 1.226 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.3568, allocations: 11.94 kB / 1.226 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.3568, allocations: 8 kB / 1.226 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000425/0.3572, allocations: 182.1 kB / 1.226 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009583/0.3582, allocations: 0.6942 MB / 1.227 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004387/0.3586, allocations: 166.7 kB / 1.227 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.3588, allocations: 60.83 kB / 1.227 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.3588, allocations: 4 kB / 1.227 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.3588, allocations: 42.55 kB / 1.227 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 1.693e-06/0.3588, allocations: 3.938 kB / 1.227 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.0006669/0.3595, allocations: 227.3 kB / 1.227 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.3595, allocations: 59.34 kB / 1.227 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.3597, allocations: 215.7 kB / 1.227 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.45e-05/0.3598, allocations: 37.7 kB / 1.227 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.3599, allocations: 160.7 kB / 1.227 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.798e-05/0.3599, allocations: 59.59 kB / 1.227 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.233e-05/0.36, allocations: 61.92 kB / 1.228 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.3602, allocations: 330.8 kB / 1.228 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.3603, allocations: 60.42 kB / 1.228 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.3605, allocations: 128.5 kB / 1.228 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.3609, allocations: 172.7 kB / 1.228 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3609, allocations: 7.938 kB / 1.228 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004487/0.3613, allocations: 225.2 kB / 1.228 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.3614, allocations: 15.92 kB / 1.228 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3614, allocations: 0 / 1.228 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.3614, allocations: 4 kB / 1.228 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.3616, allocations: 35.98 kB / 1.228 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.3616, allocations: 11.92 kB / 1.229 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.3617, allocations: 28.09 kB / 1.229 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.3617, allocations: 8 kB / 1.229 GB, free: 5.406 MB / 0.9825 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.000148/0.3619, allocations: 154.2 kB / 1.229 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.561e-05/0.3619, allocations: 23.86 kB / 1.229 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.053e-05/0.362, allocations: 25.86 kB / 1.229 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.362, allocations: 0 / 1.229 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.362, allocations: 0 / 1.229 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.362, allocations: 4 kB / 1.229 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003342/0.3623, allocations: 309.3 kB / 1.229 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3623, allocations: 0 / 1.229 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.3625, allocations: 19.98 kB / 1.229 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.3625, allocations: 7.984 kB / 1.229 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.3625, allocations: 4 kB / 1.229 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3625, allocations: 0 / 1.229 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3625, allocations: 4 kB / 1.229 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004294/0.3629, allocations: 284.8 kB / 1.229 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.529e-05/0.363, allocations: 100.9 kB / 1.229 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.363, allocations: 4 kB / 1.229 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.3632, allocations: 11.98 kB / 1.229 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.712e-05/0.3633, allocations: 23.97 kB / 1.229 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.3633, allocations: 7.984 kB / 1.229 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001119/0.3634, allocations: 149.5 kB / 1.23 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3634, allocations: 0 / 1.23 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002859/0.3637, allocations: 47.84 kB / 1.23 GB, free: 4.16 MB / 0.9825 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.0001624/0.3638, allocations: 116.7 kB / 1.23 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004237/0.3643, allocations: 162.9 kB / 1.23 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3643, allocations: 0 / 1.23 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001834/0.3644, allocations: 75.89 kB / 1.23 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.3648, allocations: 37.58 kB / 1.23 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008044/0.3656, allocations: 413.4 kB / 1.23 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.3659, allocations: 0.7526 MB / 1.231 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001123/0.366, allocations: 33.88 kB / 1.231 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.729e-05/0.3661, allocations: 27.42 kB / 1.231 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of SimCode: time 6.01e-07/0.3661, allocations: 0 / 1.231 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of Templates: time 0.005484/0.3716, allocations: 1.992 MB / 1.233 GB, free: 0.5742 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches