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.001488/0.001488, allocations: 108.3 kB / 16.41 MB, free: 6.453 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.001628/0.001628, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.666/2.666, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 63.88 kB / 1.055 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8781/0.8796, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.00328/0.883, allocations: 1.445 MB / 1.21 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001794/0.8848, allocations: 1.096 MB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002933/0.8851, allocations: 8 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.8853, allocations: 35.53 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002351/0.8855, allocations: 27.62 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.8859, allocations: 131.8 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003921/0.8863, allocations: 344.6 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003877/0.8867, allocations: 210 kB / 1.212 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002602/0.887, allocations: 139.4 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001938/0.8872, allocations: 151.2 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.652e-05/0.8873, allocations: 40 kB / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.673e-05/0.8873, allocations: 36 kB / 1.212 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.49e-05/0.8874, allocations: 87.75 kB / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.8876, allocations: 155.1 kB / 1.212 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005094/0.8881, allocations: 486 kB / 1.213 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.8881, allocations: 0 / 1.213 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.415e-06/0.8881, allocations: 0 / 1.213 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.289e-05/0.8881, allocations: 0 / 1.213 GB, free: 9.242 MB / 0.9356 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.0009763/0.8891, allocations: 0.5831 MB / 1.213 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.8891, allocations: 8.031 kB / 1.213 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.676e-05/0.8892, allocations: 36.47 kB / 1.213 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005889/0.8898, allocations: 333.3 kB / 1.214 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.86e-05/0.8899, allocations: 25.38 kB / 1.214 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.281e-05/0.8899, allocations: 36.38 kB / 1.214 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005554/0.8905, allocations: 291.1 kB / 1.214 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.8905, allocations: 192 / 1.214 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.55e-05/0.8906, allocations: 19.94 kB / 1.214 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.8906, allocations: 12 kB / 1.214 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005213/0.8911, allocations: 235.9 kB / 1.214 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.8924, allocations: 0.821 MB / 1.215 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005318/0.8929, allocations: 253.3 kB / 1.215 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002334/0.8932, allocations: 113.2 kB / 1.215 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/0.8932, allocations: 12.22 kB / 1.215 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.8933, allocations: 34.8 kB / 1.215 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=27): time 1.363e-06/0.8933, allocations: 3.938 kB / 1.215 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of matching and sorting (n=27): time 0.0007723/0.894, allocations: 304.1 kB / 1.216 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.8941, allocations: 55.39 kB / 1.216 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.8943, allocations: 211.6 kB / 1.216 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.8944, allocations: 33.7 kB / 1.216 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.8945, allocations: 180.1 kB / 1.216 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.803e-05/0.8946, allocations: 74.91 kB / 1.216 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.8947, allocations: 65.97 kB / 1.216 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.8948, allocations: 334.8 kB / 1.217 GB, free: 5 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.8951, allocations: 76.52 kB / 1.217 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/0.8953, allocations: 147.9 kB / 1.217 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004223/0.8958, allocations: 218.9 kB / 1.217 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.8958, allocations: 4 kB / 1.217 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005528/0.8963, allocations: 273.2 kB / 1.217 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.8964, allocations: 9.656 kB / 1.217 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.8964, allocations: 4 kB / 1.217 GB, free: 4.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.8964, allocations: 3.938 kB / 1.217 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.8967, allocations: 51.91 kB / 1.217 GB, free: 4.176 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.8967, allocations: 8.156 kB / 1.217 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.8968, allocations: 43.67 kB / 1.217 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.8969, allocations: 8 kB / 1.217 GB, free: 4.117 MB / 0.9356 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.0002574/0.8971, allocations: 153.8 kB / 1.218 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.478e-05/0.8972, allocations: 19.81 kB / 1.218 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005584/0.8978, allocations: 252.3 kB / 1.218 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.8978, allocations: 7.922 kB / 1.218 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.8978, allocations: 4 kB / 1.218 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.8978, allocations: 0 / 1.218 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004266/0.8982, allocations: 349.3 kB / 1.218 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.8982, allocations: 0 / 1.218 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.8984, allocations: 47.89 kB / 1.218 GB, free: 3.238 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.8985, allocations: 0 / 1.218 GB, free: 3.238 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.8985, allocations: 4 kB / 1.218 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.8985, allocations: 11.92 kB / 1.218 GB, free: 3.223 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.8985, allocations: 0 / 1.218 GB, free: 3.223 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005058/0.899, allocations: 327.1 kB / 1.219 GB, free: 2.887 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-05/0.8991, allocations: 100.8 kB / 1.219 GB, free: 2.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.8991, allocations: 4 kB / 1.219 GB, free: 2.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.8993, allocations: 23.92 kB / 1.219 GB, free: 2.742 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.783e-05/0.8994, allocations: 31.91 kB / 1.219 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.8994, allocations: 11.98 kB / 1.219 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000117/0.8995, allocations: 133.5 kB / 1.219 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8995, allocations: 0 / 1.219 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003273/0.8998, allocations: 63.69 kB / 1.219 GB, free: 2.508 MB / 0.9356 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.0001714/0.9, allocations: 111.2 kB / 1.219 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005091/0.9005, allocations: 219.8 kB / 1.219 GB, free: 2.176 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.9006, allocations: 0 / 1.219 GB, free: 2.176 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.9008, allocations: 112.8 kB / 1.219 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.9011, allocations: 24.42 kB / 1.219 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008977/0.902, allocations: 0.4963 MB / 1.22 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.9024, allocations: 0.7675 MB / 1.221 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.474e-05/0.9025, allocations: 31.38 kB / 1.221 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.9025, allocations: 3.938 kB / 1.221 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of Templates: time 0.005515/0.908, allocations: 3.054 MB / 1.224 GB, free: 13.64 MB / 0.9512 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