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.001266/0.001266, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001592/0.001592, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.868/2.868, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003786, allocations: 15.75 kB / 0.9022 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.356, allocations: 159.6 MB / 1.058 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.001873/0.3579, allocations: 1.029 MB / 1.059 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001681/0.3596, allocations: 1.069 MB / 1.06 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000242/0.3599, allocations: 4 kB / 1.06 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.139e-05/0.36, allocations: 23.72 kB / 1.06 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001934/0.3602, allocations: 27.8 kB / 1.06 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.3605, allocations: 75.92 kB / 1.06 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003865/0.3609, allocations: 300.7 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003556/0.3613, allocations: 162.3 kB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002414/0.3615, allocations: 87.5 kB / 1.061 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.3617, allocations: 91.42 kB / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.459e-05/0.3618, allocations: 12 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.687e-05/0.3618, allocations: 8 kB / 1.061 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.465e-05/0.3618, allocations: 43.77 kB / 1.061 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.344e-05/0.3619, allocations: 73.52 kB / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003429/0.3623, allocations: 359.2 kB / 1.061 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3623, allocations: 0 / 1.061 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3623, allocations: 3.938 kB / 1.061 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.3623, allocations: 4 kB / 1.061 GB, free: 1.91 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.000884/0.3632, allocations: 0.5343 MB / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.3633, allocations: 16.02 kB / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.361e-05/0.3634, allocations: 31.62 kB / 1.062 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005864/0.3639, allocations: 340.1 kB / 1.062 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.763e-05/0.364, allocations: 21 kB / 1.062 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.073e-05/0.3641, allocations: 39.95 kB / 1.062 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005935/0.3647, allocations: 298.5 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3647, allocations: 0 / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.901e-05/0.3647, allocations: 12 kB / 1.063 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.3647, allocations: 8 kB / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000526/0.3653, allocations: 255.8 kB / 1.063 GB, free: 284 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.3665, allocations: 0.8327 MB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004657/0.367, allocations: 243.4 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002308/0.3673, allocations: 125.4 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.309e-05/0.3673, allocations: 8.172 kB / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.3673, allocations: 34.8 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=27): time 1.343e-06/0.3673, allocations: 0 / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.0007018/0.368, allocations: 324.2 kB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.3681, allocations: 55.36 kB / 1.064 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.3683, allocations: 211.6 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.3683, allocations: 29.7 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.3684, allocations: 180.1 kB / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.14e-05/0.3685, allocations: 82.84 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.277e-05/0.3685, allocations: 4 kB / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.946e-05/0.3686, allocations: 326.8 kB / 1.065 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.3688, allocations: 88.52 kB / 1.065 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.369, allocations: 151.9 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/0.3693, allocations: 87.97 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3693, allocations: 0 / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005073/0.3698, allocations: 290 kB / 1.066 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.3698, allocations: 4 kB / 1.066 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.3698, allocations: 4.219 kB / 1.066 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3698, allocations: 4 kB / 1.066 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.3701, allocations: 59.89 kB / 1.066 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.3701, allocations: 7.953 kB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.3702, allocations: 31.77 kB / 1.066 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.3703, allocations: 12 kB / 1.066 GB, free: 12.98 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 (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,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002078/0.3705, allocations: 157.8 kB / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/0.3705, allocations: 19.72 kB / 1.066 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000567/0.3711, allocations: 268.3 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.3711, allocations: 4 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3711, allocations: 0 / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.3712, allocations: 7.938 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004733/0.3716, allocations: 349.3 kB / 1.067 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.3716, allocations: 0 / 1.067 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.3718, allocations: 47.91 kB / 1.067 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.3718, allocations: 0 / 1.067 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.3719, allocations: 4 kB / 1.067 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.3719, allocations: 12 kB / 1.067 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3719, allocations: 0 / 1.067 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005114/0.3724, allocations: 347 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.139e-05/0.3725, allocations: 100.8 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.3725, allocations: 4 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.3726, allocations: 15.98 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.207e-05/0.3727, allocations: 27.95 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.3728, allocations: 8 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001056/0.3729, allocations: 141.5 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.533e-06/0.3729, allocations: 0 / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003127/0.3732, allocations: 67.62 kB / 1.067 GB, free: 11.34 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001435/0.3733, allocations: 111.2 kB / 1.068 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000511/0.3739, allocations: 232.1 kB / 1.068 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3739, allocations: 0 / 1.068 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002317/0.3741, allocations: 116.8 kB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.3745, allocations: 38.61 kB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009563/0.3754, allocations: 0.5697 MB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.3758, allocations: 0.7637 MB / 1.069 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000164/0.376, allocations: 30.28 kB / 1.069 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.851e-05/0.3761, allocations: 23.44 kB / 1.069 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of SimCode: time 5.71e-07/0.3761, allocations: 0 / 1.069 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of Templates: time 0.005333/0.3814, allocations: 1.656 MB / 1.071 GB, free: 7.789 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/jenkins/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