Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.006751/0.006751, allocations: 97.66 kB / 15.73 MB, free: 6.047 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.001308/0.001308, allocations: 202.5 kB / 16.68 MB, free: 5.969 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.848/2.848, allocations: 469.8 MB / 0.7425 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 63.91 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3972/0.3986, allocations: 159.1 MB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.003921/0.4025, allocations: 1.144 MB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001823/0.4043, allocations: 1.01 MB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.4045, allocations: 7.938 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.503e-05/0.4046, allocations: 19.73 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.4047, allocations: 35.66 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.405, allocations: 87.86 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002706/0.4053, allocations: 232.2 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002375/0.4055, allocations: 92.62 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.4057, allocations: 103.5 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.4058, allocations: 99.53 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.681e-05/0.4058, allocations: 24 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.006e-05/0.4059, allocations: 24 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.421e-05/0.4059, allocations: 51.84 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.084e-05/0.406, allocations: 107.4 kB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003266/0.4063, allocations: 302.7 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4063, allocations: 4 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4063, allocations: 0 / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.4063, allocations: 0 / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008062/0.4072, allocations: 0.4989 MB / 1.224 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.4072, allocations: 11.97 kB / 1.224 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.723e-05/0.4072, allocations: 28.73 kB / 1.224 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004675/0.4077, allocations: 286.8 kB / 1.225 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.4077, allocations: 12.81 kB / 1.225 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/0.4078, allocations: 24.38 kB / 1.225 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003912/0.4082, allocations: 191.8 kB / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.4082, allocations: 192 / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/0.4082, allocations: 15.94 kB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.4082, allocations: 8 kB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000388/0.4086, allocations: 165.6 kB / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008032/0.4094, allocations: 0.5841 MB / 1.226 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.4098, allocations: 142.7 kB / 1.226 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.4099, allocations: 64.81 kB / 1.226 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.4099, allocations: 3.938 kB / 1.226 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.41, allocations: 42.47 kB / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=17): time 1.203e-06/0.41, allocations: 0 / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17): time 0.0006164/0.4106, allocations: 211.2 kB / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.4106, allocations: 55.41 kB / 1.226 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.4108, allocations: 190.8 kB / 1.226 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.4108, allocations: 29.7 kB / 1.226 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.4109, allocations: 140.3 kB / 1.226 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.411, allocations: 51.7 kB / 1.227 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.661e-05/0.4111, allocations: 53.69 kB / 1.227 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.4112, allocations: 326.8 kB / 1.227 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.4114, allocations: 55.95 kB / 1.227 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.4116, allocations: 102.2 kB / 1.227 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003239/0.4119, allocations: 151 kB / 1.227 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4119, allocations: 0 / 1.227 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003964/0.4123, allocations: 199.4 kB / 1.227 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.4123, allocations: 11.98 kB / 1.227 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.4123, allocations: 0 / 1.227 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.4123, allocations: 4 kB / 1.227 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.4125, allocations: 31.91 kB / 1.227 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.4125, allocations: 4 kB / 1.227 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.4126, allocations: 27.83 kB / 1.227 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.4126, allocations: 12.16 kB / 1.227 GB, free: 6.484 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.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 (22): * Single equations (assignments): 22 * 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.0002591/0.4129, allocations: 146.2 kB / 1.228 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-05/0.4129, allocations: 19.84 kB / 1.228 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.196e-05/0.413, allocations: 13.88 kB / 1.228 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.413, allocations: 4 kB / 1.228 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.413, allocations: 0 / 1.228 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.413, allocations: 0 / 1.228 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003224/0.4133, allocations: 273.5 kB / 1.228 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4133, allocations: 7.938 kB / 1.228 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.4135, allocations: 23.97 kB / 1.228 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.4135, allocations: 0 / 1.228 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.4135, allocations: 8 kB / 1.228 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4135, allocations: 0 / 1.228 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.4135, allocations: 0 / 1.228 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004101/0.4139, allocations: 267.2 kB / 1.228 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.497e-05/0.4139, allocations: 92.95 kB / 1.228 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.414, allocations: 0 / 1.228 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.4141, allocations: 19.98 kB / 1.228 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.36e-05/0.4142, allocations: 19.97 kB / 1.228 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.4142, allocations: 8 kB / 1.228 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.939e-05/0.4143, allocations: 115.2 kB / 1.228 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4143, allocations: 0 / 1.228 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002645/0.4146, allocations: 43.84 kB / 1.228 GB, free: 5.352 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.000193/0.4147, allocations: 117.6 kB / 1.229 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004198/0.4152, allocations: 141.8 kB / 1.229 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4152, allocations: 320 / 1.229 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001852/0.4154, allocations: 79.89 kB / 1.229 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.4157, allocations: 23.88 kB / 1.229 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006853/0.4164, allocations: 340.6 kB / 1.229 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.4167, allocations: 0.7358 MB / 1.23 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.066e-05/0.4168, allocations: 25.48 kB / 1.23 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.783e-05/0.4168, allocations: 27.42 kB / 1.23 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.4168, allocations: 0 / 1.23 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of Templates: time 0.0048/0.4216, allocations: 1.493 MB / 1.231 GB, free: 2.379 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches