Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.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_latest_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_latest_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.001343/0.001343, allocations: 108 kB / 16.41 MB, free: 6.027 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.001346/0.001346, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.438/2.438, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001322, allocations: 59.91 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.797/0.7983, 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.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002234/0.8006, allocations: 1.127 MB / 1.21 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.8017, allocations: 1.018 MB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.077e-05/0.8018, allocations: 4 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.71e-05/0.8018, allocations: 23.67 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.8019, allocations: 27.66 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.8021, allocations: 79.92 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.8023, allocations: 236.1 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000213/0.8026, allocations: 132.1 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.8027, allocations: 91.62 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.8028, allocations: 95.55 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.8029, allocations: 28 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.085e-05/0.8029, allocations: 24 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.481e-05/0.8029, allocations: 67.64 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.097e-05/0.803, allocations: 103.5 kB / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.8033, allocations: 305.4 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.8033, allocations: 0 / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8033, allocations: 0 / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.8033, allocations: 0 / 1.212 GB, free: 10.27 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005982/0.8039, allocations: 0.4892 MB / 1.212 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 2.835e-05/0.8039, allocations: 12.03 kB / 1.212 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.152e-05/0.804, allocations: 24.66 kB / 1.212 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004115/0.8044, allocations: 278.7 kB / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.8044, allocations: 20.75 kB / 1.213 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.8045, allocations: 24.38 kB / 1.213 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003652/0.8048, allocations: 195.8 kB / 1.213 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.8049, allocations: 4.188 kB / 1.213 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.8049, allocations: 15.94 kB / 1.213 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.8049, allocations: 4 kB / 1.213 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003778/0.8053, allocations: 153.7 kB / 1.213 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006749/0.806, allocations: 0.5839 MB / 1.213 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/0.8063, allocations: 162.6 kB / 1.214 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.8065, allocations: 72.81 kB / 1.214 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.8065, allocations: 4.062 kB / 1.214 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/0.8065, allocations: 30.56 kB / 1.214 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=17): time 1.362e-06/0.8065, allocations: 4 kB / 1.214 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17): time 0.0005456/0.8071, allocations: 218.9 kB / 1.214 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.8071, allocations: 55.41 kB / 1.214 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.8072, allocations: 183.9 kB / 1.214 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.8073, allocations: 25.7 kB / 1.214 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.98e-05/0.8073, allocations: 148.1 kB / 1.214 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.8074, allocations: 43.45 kB / 1.214 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.153e-05/0.8074, allocations: 49.69 kB / 1.214 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.202e-05/0.8075, allocations: 326.8 kB / 1.215 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.8077, allocations: 51.97 kB / 1.215 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.8079, allocations: 105.1 kB / 1.215 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002962/0.8082, allocations: 143.1 kB / 1.215 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.8082, allocations: 0 / 1.215 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003787/0.8086, allocations: 197.2 kB / 1.215 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.8086, allocations: 5.719 kB / 1.215 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.8086, allocations: 4 kB / 1.215 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.8086, allocations: 0 / 1.215 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.8088, allocations: 40.06 kB / 1.215 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.8088, allocations: 7.938 kB / 1.215 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.8089, allocations: 23.83 kB / 1.215 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.8089, allocations: 4 kB / 1.215 GB, free: 6.359 MB / 0.9356 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.000146/0.8091, allocations: 141.8 kB / 1.215 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.8091, allocations: 19.69 kB / 1.215 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.133e-05/0.8092, allocations: 29.86 kB / 1.215 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.8092, allocations: 4 kB / 1.215 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.8092, allocations: 0 / 1.215 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.8092, allocations: 0 / 1.215 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.8095, allocations: 281.3 kB / 1.216 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.8095, allocations: 0 / 1.216 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.8096, allocations: 31.91 kB / 1.216 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.8096, allocations: 0 / 1.216 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.8096, allocations: 0 / 1.216 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.8096, allocations: 4 kB / 1.216 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.8096, allocations: 4 kB / 1.216 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003727/0.81, allocations: 263.1 kB / 1.216 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.909e-05/0.8101, allocations: 88.95 kB / 1.216 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.8101, allocations: 7.938 kB / 1.216 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.8102, allocations: 7.984 kB / 1.216 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.263e-05/0.8103, allocations: 31.89 kB / 1.216 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.968e-06/0.8103, allocations: 7.984 kB / 1.216 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.478e-05/0.8104, allocations: 123.2 kB / 1.216 GB, free: 5.246 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.91e-07/0.8104, allocations: 0 / 1.216 GB, free: 5.246 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002543/0.8106, allocations: 39.84 kB / 1.216 GB, free: 5.207 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: 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.0001238/0.8108, allocations: 103.2 kB / 1.216 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003782/0.8112, allocations: 157.3 kB / 1.217 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.8112, allocations: 0 / 1.217 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.8113, allocations: 71.91 kB / 1.217 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.8116, allocations: 23.92 kB / 1.217 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005711/0.8122, allocations: 376 kB / 1.217 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.8124, allocations: 0.7241 MB / 1.218 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.312e-05/0.8125, allocations: 31.42 kB / 1.218 GB, free: 3.672 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.8125, allocations: 0 / 1.218 GB, free: 3.672 MB / 0.9356 GB Notification: Performance of Templates: time 0.003255/0.8158, allocations: 2.171 MB / 1.22 GB, free: 1.508 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches