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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001169/0.001169, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00156/0.001561, allocations: 187.3 kB / 16.92 MB, free: 6.75 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: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.799/2.799, allocations: 462.7 MB / 0.7371 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003525, allocations: 12.03 kB / 0.9035 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3208, allocations: 159.6 MB / 1.059 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.001854/0.3227, allocations: 1.106 MB / 1.06 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001637/0.3243, allocations: 1.073 MB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002334/0.3246, allocations: 8 kB / 1.062 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.549e-05/0.3247, allocations: 19.78 kB / 1.062 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.3249, allocations: 23.8 kB / 1.062 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.3252, allocations: 103.9 kB / 1.062 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000347/0.3256, allocations: 320.6 kB / 1.062 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003741/0.3259, allocations: 202 kB / 1.062 GB, free: 2 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002101/0.3262, allocations: 87.52 kB / 1.062 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.3264, allocations: 107.3 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.291e-05/0.3264, allocations: 8 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3e-05/0.3264, allocations: 8 kB / 1.062 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.3265, allocations: 35.78 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.3266, allocations: 140.9 kB / 1.063 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003303/0.327, allocations: 367.2 kB / 1.063 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.327, allocations: 7.875 kB / 1.063 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.134e-06/0.327, allocations: 0 / 1.063 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.279e-05/0.327, allocations: 4 kB / 1.063 GB, free: 1.242 MB / 0.8106 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.0008335/0.3278, allocations: 0.5228 MB / 1.063 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.3279, allocations: 11.97 kB / 1.063 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.854e-05/0.328, allocations: 36.56 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005865/0.3286, allocations: 341.3 kB / 1.064 GB, free: 252 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.674e-05/0.3286, allocations: 29.38 kB / 1.064 GB, free: 224 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.558e-05/0.3287, allocations: 28.38 kB / 1.064 GB, free: 196 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006047/0.3293, allocations: 299.1 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3293, allocations: 192 / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.298e-05/0.3294, allocations: 15.94 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.3294, allocations: 11.94 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005596/0.3299, allocations: 247.9 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.3312, allocations: 0.8406 MB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004935/0.3317, allocations: 259.2 kB / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/0.3319, allocations: 117.2 kB / 1.066 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/0.332, allocations: 8.219 kB / 1.066 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.332, allocations: 42.8 kB / 1.066 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=27): time 1.603e-06/0.332, allocations: 0 / 1.066 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.0008176/0.3328, allocations: 332 kB / 1.066 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.3329, allocations: 55.39 kB / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.3331, allocations: 203.7 kB / 1.066 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.3331, allocations: 33.7 kB / 1.066 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.3333, allocations: 184.1 kB / 1.066 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.866e-05/0.3333, allocations: 70.92 kB / 1.066 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.497e-05/0.3334, allocations: 49.69 kB / 1.066 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.3336, allocations: 330.8 kB / 1.067 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.3338, allocations: 88.52 kB / 1.067 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.334, allocations: 143.9 kB / 1.067 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004515/0.3345, allocations: 226.7 kB / 1.067 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3345, allocations: 0 / 1.067 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005671/0.3351, allocations: 294 kB / 1.068 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.3351, allocations: 8 kB / 1.068 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.3351, allocations: 224 / 1.068 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.3351, allocations: 11.94 kB / 1.068 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/0.3354, allocations: 63.89 kB / 1.068 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.3354, allocations: 4 kB / 1.068 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.3356, allocations: 35.67 kB / 1.068 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.3356, allocations: 8 kB / 1.068 GB, free: 12.09 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.0001977/0.3358, allocations: 154.3 kB / 1.068 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.829e-05/0.3359, allocations: 19.81 kB / 1.068 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005765/0.3365, allocations: 260.1 kB / 1.068 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.3365, allocations: 11.86 kB / 1.068 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3365, allocations: 0 / 1.068 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.3365, allocations: 7.984 kB / 1.068 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000386/0.3369, allocations: 349.2 kB / 1.068 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3369, allocations: 4 kB / 1.068 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.3371, allocations: 43.97 kB / 1.068 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.3371, allocations: 0 / 1.068 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.3371, allocations: 8 kB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-06/0.3372, allocations: 7.938 kB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3372, allocations: 0 / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000533/0.3377, allocations: 339.2 kB / 1.069 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.866e-05/0.3378, allocations: 100.8 kB / 1.069 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.3378, allocations: 4 kB / 1.069 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.338, allocations: 19.92 kB / 1.069 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.843e-05/0.3381, allocations: 23.97 kB / 1.069 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.3381, allocations: 11.94 kB / 1.069 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001081/0.3382, allocations: 141.5 kB / 1.069 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3382, allocations: 7.938 kB / 1.069 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000316/0.3385, allocations: 59.69 kB / 1.069 GB, free: 10.45 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.00015/0.3387, allocations: 115.7 kB / 1.069 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005404/0.3392, allocations: 236.6 kB / 1.069 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3392, allocations: 0 / 1.069 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002308/0.3395, allocations: 115.9 kB / 1.07 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.3398, allocations: 34 kB / 1.07 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.3408, allocations: 0.6277 MB / 1.07 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.3413, allocations: 0.7636 MB / 1.071 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.141e-05/0.3414, allocations: 31.42 kB / 1.071 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.3414, allocations: 0 / 1.071 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of Templates: time 0.006525/0.3479, allocations: 2.989 MB / 1.074 GB, free: 5.496 MB / 0.8262 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