Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.001194/0.001194, allocations: 105.8 kB / 16.27 MB, free: 6.414 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.001243/0.001243, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.408/1.408, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.595/2.595, allocations: 469.4 MB / 0.7427 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 73.03 kB / 0.9089 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3714, allocations: 159.1 MB / 1.064 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.003311/0.3747, allocations: 1.427 MB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001758/0.3765, allocations: 1.092 MB / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002773/0.3768, allocations: 12 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.377, allocations: 35.53 kB / 1.067 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002523/0.3773, allocations: 35.55 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003808/0.3777, allocations: 119.9 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004187/0.3781, allocations: 340.6 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004198/0.3785, allocations: 222 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002648/0.3788, allocations: 135.4 kB / 1.068 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.379, allocations: 147.2 kB / 1.068 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.217e-05/0.3791, allocations: 40 kB / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.223e-05/0.3792, allocations: 36 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.876e-05/0.3792, allocations: 87.75 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.3794, allocations: 155.1 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004882/0.3799, allocations: 466.7 kB / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3799, allocations: 7.938 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.714e-06/0.3799, allocations: 0 / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.271e-05/0.3799, allocations: 0 / 1.068 GB, free: 10.59 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.0009909/0.3809, allocations: 0.5831 MB / 1.069 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.381, allocations: 8.625 kB / 1.069 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.933e-05/0.3811, allocations: 40.47 kB / 1.069 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005935/0.3817, allocations: 325.4 kB / 1.069 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.112e-05/0.3817, allocations: 33.31 kB / 1.069 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.938e-05/0.3818, allocations: 32.38 kB / 1.069 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005823/0.3824, allocations: 287.1 kB / 1.07 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.3824, allocations: 192 / 1.07 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.321e-05/0.3824, allocations: 19.94 kB / 1.07 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.3825, allocations: 11.98 kB / 1.07 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005443/0.383, allocations: 239.9 kB / 1.07 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.3843, allocations: 0.825 MB / 1.071 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005261/0.3849, allocations: 259.4 kB / 1.071 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002475/0.3851, allocations: 113.3 kB / 1.071 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.773e-05/0.3852, allocations: 4.234 kB / 1.071 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.3852, allocations: 30.8 kB / 1.071 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=27): time 1.493e-06/0.3852, allocations: 7.938 kB / 1.071 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of matching and sorting (n=27): time 0.0008472/0.3861, allocations: 315.3 kB / 1.072 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.3861, allocations: 55.41 kB / 1.072 GB, free: 7.254 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.3864, allocations: 211.5 kB / 1.072 GB, free: 7.039 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.3865, allocations: 29.7 kB / 1.072 GB, free: 7.004 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.3866, allocations: 176.2 kB / 1.072 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.392e-05/0.3867, allocations: 82.84 kB / 1.072 GB, free: 6.746 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.3869, allocations: 65.97 kB / 1.072 GB, free: 6.676 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.3871, allocations: 334.8 kB / 1.072 GB, free: 6.34 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.3873, allocations: 80.5 kB / 1.073 GB, free: 6.262 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002854/0.3876, allocations: 139.9 kB / 1.073 GB, free: 6.102 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004658/0.3881, allocations: 215.6 kB / 1.073 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.3881, allocations: 0 / 1.073 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000569/0.3887, allocations: 277.3 kB / 1.073 GB, free: 5.59 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.3887, allocations: 15.94 kB / 1.073 GB, free: 5.574 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.3887, allocations: 0 / 1.073 GB, free: 5.574 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.3887, allocations: 7.938 kB / 1.073 GB, free: 5.566 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/0.389, allocations: 51.91 kB / 1.073 GB, free: 5.516 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/0.389, allocations: 4 kB / 1.073 GB, free: 5.512 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.3892, allocations: 27.83 kB / 1.073 GB, free: 5.484 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.3892, allocations: 8 kB / 1.073 GB, free: 5.477 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.0001983/0.3894, allocations: 161.8 kB / 1.073 GB, free: 5.309 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.091e-05/0.3895, allocations: 19.72 kB / 1.073 GB, free: 5.289 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005497/0.39, allocations: 248 kB / 1.074 GB, free: 5.043 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/0.3901, allocations: 11.88 kB / 1.074 GB, free: 5.031 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3901, allocations: 0 / 1.074 GB, free: 5.031 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3901, allocations: 0 / 1.074 GB, free: 5.031 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004591/0.3905, allocations: 357.3 kB / 1.074 GB, free: 4.633 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.3906, allocations: 0 / 1.074 GB, free: 4.633 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.3907, allocations: 43.97 kB / 1.074 GB, free: 4.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.706e-06/0.3908, allocations: 0 / 1.074 GB, free: 4.59 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/0.3908, allocations: 4 kB / 1.074 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.3908, allocations: 3.938 kB / 1.074 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3908, allocations: 0 / 1.074 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005408/0.3913, allocations: 335.6 kB / 1.074 GB, free: 4.238 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.213e-05/0.3914, allocations: 104.8 kB / 1.074 GB, free: 4.117 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.3914, allocations: 4 kB / 1.074 GB, free: 4.113 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.3916, allocations: 15.92 kB / 1.074 GB, free: 4.098 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.989e-05/0.3917, allocations: 27.97 kB / 1.075 GB, free: 4.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.3917, allocations: 8 kB / 1.075 GB, free: 4.062 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001156/0.3918, allocations: 141.5 kB / 1.075 GB, free: 3.926 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3919, allocations: 4 kB / 1.075 GB, free: 3.922 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003241/0.3922, allocations: 63.69 kB / 1.075 GB, free: 3.859 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.0001433/0.3923, allocations: 111.7 kB / 1.075 GB, free: 3.742 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005756/0.3929, allocations: 224.2 kB / 1.075 GB, free: 3.523 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3929, allocations: 8 kB / 1.075 GB, free: 3.516 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002404/0.3932, allocations: 115.8 kB / 1.075 GB, free: 3.402 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.3935, allocations: 23.86 kB / 1.075 GB, free: 3.383 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009881/0.3945, allocations: 0.5037 MB / 1.076 GB, free: 2.852 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.395, allocations: 0.7673 MB / 1.076 GB, free: 2.055 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.961e-05/0.3951, allocations: 35.36 kB / 1.076 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of SimCode: time 5.41e-07/0.3951, allocations: 0 / 1.076 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of Templates: time 0.5581/0.9532, allocations: 3.03 MB / 1.079 GB, free: 21.98 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches