Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.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.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007743/0.007743, allocations: 100.1 kB / 15.73 MB, free: 6.496 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.001685/0.001685, allocations: 201.3 kB / 16.68 MB, free: 6.371 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.447/1.447, 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.1.0-maint.11.x/package.mo): time 2.938/2.938, allocations: 469.8 MB / 0.7425 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 67.89 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3627, 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.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.004412/0.3671, allocations: 1.441 MB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002549/0.3697, allocations: 1.096 MB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003194/0.37, allocations: 8 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001505/0.3702, allocations: 35.53 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000265/0.3704, allocations: 43.59 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003702/0.3708, allocations: 119.8 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004381/0.3712, allocations: 340.6 kB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003629/0.3716, allocations: 166 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002587/0.3719, allocations: 135.4 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.3721, allocations: 151.2 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.743e-05/0.3721, allocations: 40 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.536e-05/0.3722, allocations: 40 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.658e-05/0.3723, allocations: 75.77 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.3724, allocations: 163.1 kB / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005427/0.373, allocations: 485.8 kB / 1.225 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.373, allocations: 0 / 1.225 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.412e-06/0.373, allocations: 0 / 1.225 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.631e-05/0.373, allocations: 0 / 1.225 GB, free: 9.484 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001102/0.3741, allocations: 0.5887 MB / 1.225 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.3741, allocations: 12.03 kB / 1.225 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.3742, allocations: 40.69 kB / 1.225 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006164/0.3749, allocations: 333.4 kB / 1.226 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.014e-05/0.3749, allocations: 29.38 kB / 1.226 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.3749, allocations: 28.38 kB / 1.226 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005775/0.3755, allocations: 295.1 kB / 1.226 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.3755, allocations: 192 / 1.226 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.345e-05/0.3756, allocations: 23.88 kB / 1.226 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.3756, allocations: 8 kB / 1.226 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005485/0.3761, allocations: 235.9 kB / 1.226 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.3774, allocations: 0.8252 MB / 1.227 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000488/0.3779, allocations: 227.5 kB / 1.227 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/0.3781, allocations: 105.2 kB / 1.228 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/0.3782, allocations: 8.234 kB / 1.228 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.3782, allocations: 38.8 kB / 1.228 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=27): time 1.964e-06/0.3782, allocations: 0 / 1.228 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of matching and sorting (n=27): time 0.0007539/0.3789, allocations: 316.1 kB / 1.228 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.379, allocations: 51.41 kB / 1.228 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.3792, allocations: 211.7 kB / 1.228 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.3792, allocations: 37.64 kB / 1.228 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.3793, allocations: 184.5 kB / 1.228 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.714e-05/0.3794, allocations: 79.28 kB / 1.228 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.3795, allocations: 69.95 kB / 1.228 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.3796, allocations: 330.8 kB / 1.229 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.3798, allocations: 80.5 kB / 1.229 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.3801, allocations: 139.9 kB / 1.229 GB, free: 5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004619/0.3805, allocations: 214.7 kB / 1.229 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.3805, allocations: 4 kB / 1.229 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005704/0.3811, allocations: 282.2 kB / 1.229 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3811, allocations: 4 kB / 1.229 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3811, allocations: 4 kB / 1.229 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.3812, allocations: 3.938 kB / 1.229 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.3814, allocations: 55.84 kB / 1.23 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.3814, allocations: 4 kB / 1.23 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.3816, allocations: 40.05 kB / 1.23 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.836e-05/0.3816, allocations: 8 kB / 1.23 GB, free: 4.363 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: 14 (reaToInt2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or2.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 (34): * Single equations (assignments): 34 * 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.000228/0.3818, allocations: 154.2 kB / 1.23 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.105e-05/0.3819, allocations: 27.84 kB / 1.23 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005589/0.3824, allocations: 248.1 kB / 1.23 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.3824, allocations: 3.938 kB / 1.23 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3824, allocations: 0 / 1.23 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3824, allocations: 4 kB / 1.23 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004129/0.3829, allocations: 349.4 kB / 1.23 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3829, allocations: 0 / 1.23 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.383, allocations: 43.91 kB / 1.23 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.3831, allocations: 0 / 1.23 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.3831, allocations: 7.984 kB / 1.23 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.798e-06/0.3831, allocations: 7.938 kB / 1.23 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3831, allocations: 0 / 1.23 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005333/0.3836, allocations: 331.2 kB / 1.231 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.803e-05/0.3837, allocations: 104.9 kB / 1.231 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.3837, allocations: 4 kB / 1.231 GB, free: 3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.3838, allocations: 19.94 kB / 1.231 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.418e-05/0.3839, allocations: 27.95 kB / 1.231 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.3839, allocations: 11.94 kB / 1.231 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001084/0.384, allocations: 141.4 kB / 1.231 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.384, allocations: 0 / 1.231 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003175/0.3844, allocations: 59.84 kB / 1.231 GB, free: 2.746 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: 9 (actAirSet.or3.y,actAirSet.or2.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 (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 Backend phase and start with SimCode phase: time 0.0001528/0.3845, allocations: 111.2 kB / 1.231 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005275/0.385, allocations: 216.4 kB / 1.231 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.385, allocations: 0 / 1.231 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.3853, allocations: 103.9 kB / 1.231 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.3856, allocations: 30.88 kB / 1.231 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008838/0.3865, allocations: 493.3 kB / 1.232 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.3868, allocations: 0.7675 MB / 1.233 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001268/0.3869, allocations: 34.22 kB / 1.233 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.781e-05/0.387, allocations: 23.44 kB / 1.233 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.387, allocations: 4 kB / 1.233 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of Templates: time 0.005531/0.3925, allocations: 1.921 MB / 1.235 GB, free: 15.05 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches