Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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.DualDuctSnapActing.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_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008491/0.0008492, allocations: 98.88 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.001318/0.001319, allocations: 187.4 kB / 16.92 MB, free: 6.77 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.416/1.416, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.645/2.645, allocations: 437.8 MB / 0.7128 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.000351, allocations: 8.281 kB / 0.8736 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6795/0.6799, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.001569/0.6815, allocations: 0.8123 MB / 1.025 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001467/0.683, allocations: 0.9947 MB / 1.026 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.6831, allocations: 8 kB / 1.026 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.33e-05/0.6832, allocations: 11.86 kB / 1.026 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.6833, allocations: 15.86 kB / 1.026 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.6836, allocations: 71.94 kB / 1.026 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000232/0.6838, allocations: 200.2 kB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002548/0.6841, allocations: 112.2 kB / 1.026 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.6843, allocations: 63.58 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.6844, allocations: 71.56 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.6845, allocations: 4 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.066e-05/0.6845, allocations: 4 kB / 1.026 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.016e-05/0.6846, allocations: 31.84 kB / 1.026 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.588e-05/0.6847, allocations: 105.1 kB / 1.026 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.6849, allocations: 209.4 kB / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6849, allocations: 0 / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6849, allocations: 4 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.6849, allocations: 0 / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0006604/0.6856, allocations: 463.2 kB / 1.027 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.6856, allocations: 8.031 kB / 1.027 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.387e-05/0.6857, allocations: 24.66 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004898/0.6862, allocations: 288.2 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/0.6863, allocations: 16.81 kB / 1.027 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.6863, allocations: 16.38 kB / 1.027 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004587/0.6868, allocations: 199.8 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.6868, allocations: 3.938 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.6868, allocations: 7.984 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.6868, allocations: 4 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004302/0.6873, allocations: 169.6 kB / 1.028 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009166/0.6882, allocations: 0.5647 MB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003217/0.6885, allocations: 126.7 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.6887, allocations: 72.83 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.6888, allocations: 0 / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.6888, allocations: 42.48 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/0.6888, allocations: 0 / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0006196/0.6894, allocations: 219.7 kB / 1.029 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.6895, allocations: 55.34 kB / 1.029 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.6896, allocations: 178.3 kB / 1.029 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.6897, allocations: 25.7 kB / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.144e-05/0.6898, allocations: 144.2 kB / 1.029 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/0.6898, allocations: 47.39 kB / 1.029 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/0.6899, allocations: 33.7 kB / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.69, allocations: 326.8 kB / 1.029 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.6902, allocations: 55.97 kB / 1.029 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.6904, allocations: 106.8 kB / 1.029 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003307/0.6907, allocations: 145 kB / 1.03 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6907, allocations: 0 / 1.03 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000443/0.6912, allocations: 202.9 kB / 1.03 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.6912, allocations: 8 kB / 1.03 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.6912, allocations: 4.156 kB / 1.03 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.6912, allocations: 7.984 kB / 1.03 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.6914, allocations: 35.86 kB / 1.03 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.6914, allocations: 7.984 kB / 1.03 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.6916, allocations: 23.84 kB / 1.03 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.6916, allocations: 7.984 kB / 1.03 GB, free: 9.285 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.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 (20): * Single equations (assignments): 20 * 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.0001266/0.6917, allocations: 142.3 kB / 1.03 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.6918, allocations: 15.91 kB / 1.03 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.443e-05/0.6918, allocations: 17.53 kB / 1.03 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.6918, allocations: 11.88 kB / 1.03 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.6918, allocations: 0 / 1.03 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.6918, allocations: 7.922 kB / 1.03 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/0.6921, allocations: 261.5 kB / 1.03 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.6921, allocations: 0 / 1.03 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.6923, allocations: 31.97 kB / 1.03 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.6923, allocations: 0 / 1.03 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.6923, allocations: 0 / 1.03 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.6923, allocations: 7.938 kB / 1.03 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6923, allocations: 0 / 1.03 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004461/0.6928, allocations: 264.3 kB / 1.031 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.6928, allocations: 96.86 kB / 1.031 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.6929, allocations: 3.984 kB / 1.031 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.693, allocations: 11.94 kB / 1.031 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.057e-05/0.6931, allocations: 23.97 kB / 1.031 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.6931, allocations: 8 kB / 1.031 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.467e-05/0.6932, allocations: 121.8 kB / 1.031 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6932, allocations: 0 / 1.031 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002809/0.6935, allocations: 35.84 kB / 1.031 GB, free: 8.16 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.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 (15): * Single equations (assignments): 15 * 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.0001472/0.6937, allocations: 111.2 kB / 1.031 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004256/0.6941, allocations: 151.8 kB / 1.031 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6941, allocations: 0 / 1.031 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.6943, allocations: 80.91 kB / 1.031 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.6946, allocations: 16 kB / 1.031 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000697/0.6953, allocations: 427 kB / 1.032 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.6956, allocations: 0.7283 MB / 1.032 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.594e-05/0.6957, allocations: 27.36 kB / 1.032 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of SimCode: time 5.41e-07/0.6957, allocations: 0 / 1.032 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of Templates: time 0.004389/0.7001, allocations: 2.042 MB / 1.034 GB, free: 4.543 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches