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.001469/0.001469, allocations: 111.8 kB / 15.99 MB, free: 6.352 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.001462/0.001462, allocations: 192.4 kB / 16.91 MB, free: 6.18 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.37/1.37, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.581/2.581, allocations: 469.8 MB / 0.7427 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 72.72 kB / 0.9088 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3161, allocations: 159.2 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002966/0.3191, allocations: 1.472 MB / 1.066 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001383/0.3205, allocations: 1.081 MB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.3206, allocations: 8 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 8.57e-05/0.3207, allocations: 19.78 kB / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.3209, allocations: 15.81 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.3211, allocations: 111.9 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000325/0.3215, allocations: 340.6 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003386/0.3218, allocations: 214 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.322, allocations: 139.4 kB / 1.067 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.3222, allocations: 147.3 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.297e-05/0.3222, allocations: 40 kB / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 4.42e-05/0.3223, allocations: 36 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.325e-05/0.3224, allocations: 87.69 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.3225, allocations: 155.2 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003509/0.3229, allocations: 375.3 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3229, allocations: 3.938 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3229, allocations: 0 / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.3229, allocations: 0 / 1.068 GB, free: 10.8 MB / 0.8419 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.0009047/0.3238, allocations: 0.5876 MB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.3239, allocations: 11.97 kB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.339e-05/0.3239, allocations: 36.47 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005478/0.3245, allocations: 337.3 kB / 1.069 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/0.3245, allocations: 25.38 kB / 1.069 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.991e-05/0.3246, allocations: 36.38 kB / 1.069 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005686/0.3252, allocations: 295.1 kB / 1.07 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.3252, allocations: 4.172 kB / 1.07 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.169e-05/0.3252, allocations: 15.94 kB / 1.07 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.3252, allocations: 8 kB / 1.07 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005061/0.3257, allocations: 231.9 kB / 1.07 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.3269, allocations: 0.8289 MB / 1.071 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004844/0.3274, allocations: 247.4 kB / 1.071 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.3277, allocations: 121.2 kB / 1.071 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.52e-05/0.3277, allocations: 8.219 kB / 1.071 GB, free: 7.875 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.3277, allocations: 34.8 kB / 1.071 GB, free: 7.832 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=27): time 1.673e-06/0.3277, allocations: 0 / 1.071 GB, free: 7.832 MB / 0.8419 GB Notification: Performance of matching and sorting (n=27): time 0.0007248/0.3285, allocations: 311.3 kB / 1.071 GB, free: 7.523 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.3285, allocations: 59.41 kB / 1.071 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.3287, allocations: 207.6 kB / 1.072 GB, free: 7.242 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.3288, allocations: 29.7 kB / 1.072 GB, free: 7.207 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.3289, allocations: 180.1 kB / 1.072 GB, free: 7.027 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.079e-05/0.329, allocations: 82.89 kB / 1.072 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.259e-05/0.3291, allocations: 65.97 kB / 1.072 GB, free: 6.875 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3292, allocations: 326.8 kB / 1.072 GB, free: 6.547 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.3294, allocations: 88.5 kB / 1.072 GB, free: 6.461 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.3297, allocations: 135.9 kB / 1.072 GB, free: 6.305 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000421/0.3301, allocations: 219.6 kB / 1.073 GB, free: 6.066 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3301, allocations: 0 / 1.073 GB, free: 6.066 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005246/0.3307, allocations: 277.1 kB / 1.073 GB, free: 5.789 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.3307, allocations: 8 kB / 1.073 GB, free: 5.781 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3307, allocations: 0 / 1.073 GB, free: 5.781 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.3307, allocations: 7.938 kB / 1.073 GB, free: 5.773 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/0.331, allocations: 55.91 kB / 1.073 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.331, allocations: 12.2 kB / 1.073 GB, free: 5.707 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.3311, allocations: 23.78 kB / 1.073 GB, free: 5.684 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.3312, allocations: 15.92 kB / 1.073 GB, free: 5.668 MB / 0.8419 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.0002096/0.3314, allocations: 153.8 kB / 1.073 GB, free: 5.508 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.495e-05/0.3314, allocations: 19.72 kB / 1.073 GB, free: 5.488 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005426/0.332, allocations: 252.1 kB / 1.073 GB, free: 5.238 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.332, allocations: 11.88 kB / 1.073 GB, free: 5.227 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.332, allocations: 0 / 1.073 GB, free: 5.227 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.332, allocations: 0 / 1.073 GB, free: 5.227 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003945/0.3324, allocations: 349.3 kB / 1.074 GB, free: 4.836 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3324, allocations: 0 / 1.074 GB, free: 4.836 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.3326, allocations: 35.97 kB / 1.074 GB, free: 4.801 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.3326, allocations: 4 kB / 1.074 GB, free: 4.797 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.3327, allocations: 8 kB / 1.074 GB, free: 4.789 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.3327, allocations: 7.938 kB / 1.074 GB, free: 4.781 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3327, allocations: 0 / 1.074 GB, free: 4.781 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005241/0.3332, allocations: 331.6 kB / 1.074 GB, free: 4.441 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.014e-05/0.3333, allocations: 100.7 kB / 1.074 GB, free: 4.324 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.3333, allocations: 12 kB / 1.074 GB, free: 4.312 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.3334, allocations: 19.92 kB / 1.074 GB, free: 4.293 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.539e-05/0.3335, allocations: 23.97 kB / 1.074 GB, free: 4.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.3335, allocations: 8 kB / 1.074 GB, free: 4.262 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001135/0.3337, allocations: 141.5 kB / 1.074 GB, free: 4.125 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3337, allocations: 0 / 1.074 GB, free: 4.125 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002987/0.334, allocations: 63.69 kB / 1.075 GB, free: 4.062 MB / 0.8419 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.0001408/0.3341, allocations: 111.2 kB / 1.075 GB, free: 3.945 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005497/0.3347, allocations: 236 kB / 1.075 GB, free: 3.715 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3347, allocations: 0 / 1.075 GB, free: 3.715 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002295/0.3349, allocations: 111.8 kB / 1.075 GB, free: 3.605 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.3352, allocations: 28.42 kB / 1.075 GB, free: 3.578 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000911/0.3362, allocations: 0.623 MB / 1.076 GB, free: 2.93 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.3366, allocations: 0.7673 MB / 1.076 GB, free: 2.137 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.938e-05/0.3367, allocations: 31.42 kB / 1.076 GB, free: 2.105 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3367, allocations: 0 / 1.076 GB, free: 2.105 MB / 0.8419 GB Notification: Performance of Templates: time 0.4245/0.7611, allocations: 3.028 MB / 1.079 GB, free: 21.78 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/jenkins1/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