Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001615/0.001616, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.283/1.283, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.409/2.409, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 71.89 kB / 1.055 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8924/0.8939, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002546/0.8965, allocations: 1.302 MB / 1.21 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.8977, allocations: 1.092 MB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.8979, allocations: 7.938 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001497/0.898, allocations: 31.61 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.5e-05/0.8981, allocations: 35.59 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.8984, allocations: 111.8 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002817/0.8987, allocations: 304.3 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/0.899, allocations: 180.8 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.8991, allocations: 115.6 kB / 1.212 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.8993, allocations: 123.4 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.129e-05/0.8993, allocations: 32 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.994e-05/0.8994, allocations: 35.94 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.611e-05/0.8994, allocations: 63.83 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.8996, allocations: 139.2 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003659/0.8999, allocations: 410.3 kB / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.9, allocations: 0 / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9, allocations: 0 / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.9, allocations: 0 / 1.212 GB, free: 9.641 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.000829/0.9008, allocations: 0.5437 MB / 1.213 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.9008, allocations: 8.031 kB / 1.213 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.99e-05/0.9009, allocations: 36.55 kB / 1.213 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005362/0.9015, allocations: 329 kB / 1.213 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.9015, allocations: 20.94 kB / 1.213 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.59e-05/0.9015, allocations: 24.38 kB / 1.213 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004487/0.902, allocations: 237.4 kB / 1.213 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.902, allocations: 192 / 1.213 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.759e-05/0.9021, allocations: 15.94 kB / 1.213 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.9021, allocations: 8 kB / 1.213 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004246/0.9025, allocations: 186.1 kB / 1.214 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009164/0.9034, allocations: 0.6783 MB / 1.214 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000424/0.9039, allocations: 185 kB / 1.215 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.904, allocations: 76.81 kB / 1.215 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.9041, allocations: 0 / 1.215 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.9041, allocations: 38.56 kB / 1.215 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=19): time 1.052e-06/0.9041, allocations: 0 / 1.215 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19): time 0.0006168/0.9047, allocations: 242.5 kB / 1.215 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.9048, allocations: 55.34 kB / 1.215 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.905, allocations: 207.6 kB / 1.215 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.905, allocations: 33.7 kB / 1.215 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.9051, allocations: 168.5 kB / 1.215 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.389e-05/0.9052, allocations: 55.28 kB / 1.215 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.435e-05/0.9053, allocations: 65.83 kB / 1.215 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.9054, allocations: 326.8 kB / 1.216 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.9056, allocations: 64.42 kB / 1.216 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.9058, allocations: 123.8 kB / 1.216 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003487/0.9061, allocations: 177 kB / 1.216 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.9062, allocations: 0 / 1.216 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004449/0.9066, allocations: 231.4 kB / 1.216 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.9066, allocations: 5.875 kB / 1.216 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.9066, allocations: 4 kB / 1.216 GB, free: 5.273 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.9067, allocations: 3.938 kB / 1.216 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.9068, allocations: 39.91 kB / 1.216 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.9069, allocations: 4 kB / 1.216 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.907, allocations: 27.83 kB / 1.216 GB, free: 5.199 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.907, allocations: 4.219 kB / 1.216 GB, free: 5.195 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: 17 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.y,actAirSet.gre.greHys.y,$PRE.actAirSet.gre.greHys.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.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 (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 prepare postOptimizeDAE: time 0.0001314/0.9072, allocations: 165.5 kB / 1.217 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.9072, allocations: 19.72 kB / 1.217 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.884e-05/0.9073, allocations: 25.86 kB / 1.217 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.9073, allocations: 0 / 1.217 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.9073, allocations: 4 kB / 1.217 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.9073, allocations: 0 / 1.217 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002879/0.9076, allocations: 309.3 kB / 1.217 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.9076, allocations: 4 kB / 1.217 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.9077, allocations: 31.91 kB / 1.217 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.9077, allocations: 0 / 1.217 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.9078, allocations: 4 kB / 1.217 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.9078, allocations: 8 kB / 1.217 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.9078, allocations: 0 / 1.217 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004125/0.9082, allocations: 275.2 kB / 1.217 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.61e-05/0.9082, allocations: 88.92 kB / 1.217 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.9083, allocations: 7.984 kB / 1.217 GB, free: 4.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.9084, allocations: 12 kB / 1.217 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.977e-05/0.9085, allocations: 31.95 kB / 1.217 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.9085, allocations: 4 kB / 1.217 GB, free: 4.137 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.107e-05/0.9086, allocations: 137.5 kB / 1.217 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9086, allocations: 0 / 1.217 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002763/0.9089, allocations: 55.69 kB / 1.218 GB, free: 3.949 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: 11 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.gre.greHys.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0001241/0.909, allocations: 119.1 kB / 1.218 GB, free: 3.82 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004183/0.9095, allocations: 169.9 kB / 1.218 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.9095, allocations: 8 kB / 1.218 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001792/0.9097, allocations: 83.89 kB / 1.218 GB, free: 3.566 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.91, allocations: 24.8 kB / 1.218 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006539/0.9106, allocations: 427.8 kB / 1.218 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.9109, allocations: 0.7487 MB / 1.219 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.306e-05/0.911, allocations: 31.42 kB / 1.219 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of SimCode: time 1.814e-06/0.911, allocations: 0 / 1.219 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of Templates: time 0.004348/0.9154, allocations: 2.765 MB / 1.222 GB, free: 15.54 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches