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.001878/0.001878, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002013/0.002013, allocations: 192.1 kB / 16.25 MB, free: 6.637 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.579/1.579, allocations: 222.9 MB / 239.9 MB, free: 4.496 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.095/3.095, allocations: 469.8 MB / 0.742 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 70.67 kB / 0.9081 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3469, allocations: 159.2 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.003122/0.3501, allocations: 1.479 MB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001528/0.3516, allocations: 1.081 MB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.3518, allocations: 4 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.701e-05/0.3519, allocations: 19.78 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001529/0.352, allocations: 23.8 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.3524, allocations: 111.9 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003584/0.3527, allocations: 340.6 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000437/0.3532, allocations: 218 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002134/0.3534, allocations: 127.5 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.3536, allocations: 151.2 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.502e-05/0.3537, allocations: 40 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.683e-05/0.3537, allocations: 36 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.111e-05/0.3538, allocations: 83.77 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.3539, allocations: 159.1 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000467/0.3544, allocations: 462.7 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3544, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3544, allocations: 3.938 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.3544, allocations: 4 kB / 1.068 GB, free: 10.22 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.0008793/0.3553, allocations: 0.5813 MB / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.3554, allocations: 8.031 kB / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.981e-05/0.3555, allocations: 40.47 kB / 1.068 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005378/0.356, allocations: 329.3 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.813e-05/0.356, allocations: 33.38 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.773e-05/0.3561, allocations: 32.38 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005674/0.3567, allocations: 287.1 kB / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.3567, allocations: 192 / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.357e-05/0.3567, allocations: 19.94 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.3568, allocations: 8 kB / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005472/0.3573, allocations: 239.8 kB / 1.069 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.3586, allocations: 0.825 MB / 1.07 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005214/0.3591, allocations: 251.4 kB / 1.07 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/0.3594, allocations: 114 kB / 1.07 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.375e-05/0.3594, allocations: 4.234 kB / 1.07 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.3595, allocations: 34.8 kB / 1.07 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=27): time 1.282e-06/0.3595, allocations: 3.938 kB / 1.07 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.000785/0.3603, allocations: 313.5 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.3603, allocations: 59.41 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.3605, allocations: 207.6 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.3606, allocations: 29.7 kB / 1.071 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.3607, allocations: 184.1 kB / 1.071 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.581e-05/0.3608, allocations: 78.91 kB / 1.071 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.3609, allocations: 61.97 kB / 1.071 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.3611, allocations: 342.8 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.3613, allocations: 80.5 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.3616, allocations: 135.9 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004497/0.362, allocations: 222.9 kB / 1.072 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.3621, allocations: 4 kB / 1.072 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005591/0.3626, allocations: 273.1 kB / 1.072 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.3626, allocations: 11.94 kB / 1.072 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.3627, allocations: 224 / 1.072 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.3627, allocations: 11.94 kB / 1.072 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.363, allocations: 55.84 kB / 1.072 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.363, allocations: 4 kB / 1.072 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.3631, allocations: 27.77 kB / 1.072 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.3631, allocations: 16 kB / 1.072 GB, free: 5.094 MB / 0.8262 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.0002436/0.3634, allocations: 153.8 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.561e-05/0.3635, allocations: 23.72 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005642/0.364, allocations: 252.3 kB / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.364, allocations: 7.938 kB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.364, allocations: 0 / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3641, allocations: 0 / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000425/0.3645, allocations: 353.3 kB / 1.073 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.3645, allocations: 4 kB / 1.073 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.3647, allocations: 39.98 kB / 1.073 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.3647, allocations: 3.984 kB / 1.073 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.3647, allocations: 4 kB / 1.073 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.3647, allocations: 3.938 kB / 1.073 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.3647, allocations: 3.938 kB / 1.073 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005455/0.3653, allocations: 327.2 kB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.549e-05/0.3654, allocations: 104.8 kB / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.3654, allocations: 4 kB / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.3655, allocations: 15.92 kB / 1.074 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.056e-05/0.3656, allocations: 27.97 kB / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.3657, allocations: 4 kB / 1.074 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001171/0.3658, allocations: 137.5 kB / 1.074 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.71e-07/0.3658, allocations: 0 / 1.074 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003073/0.3661, allocations: 63.69 kB / 1.074 GB, free: 3.492 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: 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.0001649/0.3663, allocations: 120.2 kB / 1.074 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005755/0.3669, allocations: 227.8 kB / 1.074 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3669, allocations: 448 / 1.074 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002398/0.3671, allocations: 120.8 kB / 1.074 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.3675, allocations: 29.67 kB / 1.074 GB, free: 3 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009421/0.3684, allocations: 0.5841 MB / 1.075 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.3688, allocations: 0.7673 MB / 1.076 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001536/0.369, allocations: 38.22 kB / 1.076 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.523e-05/0.3691, allocations: 31.42 kB / 1.076 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of SimCode: time 5.01e-07/0.3691, allocations: 3.938 kB / 1.076 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of Templates: time 0.005495/0.3746, allocations: 1.793 MB / 1.078 GB, free: 15.79 MB / 0.8419 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=400 -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