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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001397/0.001397, allocations: 108 kB / 15.6 MB, free: 132 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.001299/0.001299, allocations: 199.6 kB / 16.54 MB, free: 6.672 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.457/1.457, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.891/2.891, allocations: 437 MB / 0.7104 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 63.91 kB / 0.8693 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7575/0.7589, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.003535/0.7625, allocations: 1.113 MB / 1.018 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002053/0.7646, allocations: 1.01 MB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002381/0.7649, allocations: 4 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.765, allocations: 19.73 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.7653, allocations: 23.69 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000381/0.7657, allocations: 87.84 kB / 1.02 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003298/0.766, allocations: 208.2 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003473/0.7664, allocations: 125.3 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.7666, allocations: 95.52 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002019/0.7668, allocations: 95.53 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.386e-05/0.7669, allocations: 24 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.647e-05/0.7669, allocations: 28 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.975e-05/0.767, allocations: 43.84 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.7671, allocations: 99.47 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003601/0.7675, allocations: 277.1 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.7675, allocations: 0 / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7675, allocations: 0 / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.7676, allocations: 0 / 1.02 GB, free: 15.25 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.001119/0.7687, allocations: 491 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.7687, allocations: 12.03 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.675e-05/0.7688, allocations: 28.66 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000518/0.7693, allocations: 274.1 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.7694, allocations: 16.81 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.212e-05/0.7694, allocations: 16.38 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004329/0.7699, allocations: 195.8 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.7699, allocations: 3.938 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.7699, allocations: 12 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.7699, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003781/0.7703, allocations: 149.6 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008404/0.7712, allocations: 0.5647 MB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/0.7715, allocations: 128.6 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.7717, allocations: 68.81 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.7717, allocations: 3.938 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.7717, allocations: 42.56 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.462e-06/0.7717, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0005987/0.7723, allocations: 205.3 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.7724, allocations: 55.34 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.7726, allocations: 175.7 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.7726, allocations: 33.7 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.7727, allocations: 140.2 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/0.7728, allocations: 39.41 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.281e-05/0.7729, allocations: 49.69 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.773, allocations: 326.8 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.7732, allocations: 55.95 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.7734, allocations: 90.83 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003246/0.7737, allocations: 142.7 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.7737, allocations: 0 / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004248/0.7742, allocations: 190.8 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.7742, allocations: 5.875 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.7742, allocations: 0 / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.7742, allocations: 4 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.7744, allocations: 35.91 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.7745, allocations: 0 / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.7746, allocations: 23.83 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.7746, allocations: 16.09 kB / 1.024 GB, free: 11.46 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.0001301/0.7747, allocations: 133.8 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.643e-05/0.7748, allocations: 11.81 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.261e-05/0.7748, allocations: 21.52 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.7748, allocations: 7.938 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.7748, allocations: 0 / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.7749, allocations: 0 / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.7751, allocations: 265.5 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.7752, allocations: 4 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.7753, allocations: 27.86 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.7753, allocations: 0 / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.7753, allocations: 0 / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.7753, allocations: 7.938 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.7753, allocations: 0 / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004114/0.7757, allocations: 255.2 kB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.7758, allocations: 92.86 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.7758, allocations: 4 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.776, allocations: 15.92 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.289e-05/0.776, allocations: 19.97 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.7761, allocations: 4 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.865e-05/0.7762, allocations: 124.2 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7762, allocations: 0 / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002634/0.7764, allocations: 47.84 kB / 1.025 GB, free: 10.35 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.0001731/0.7766, allocations: 99.25 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004471/0.7771, allocations: 153.3 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7771, allocations: 0 / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.7773, allocations: 76.2 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.7776, allocations: 29.41 kB / 1.025 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006918/0.7783, allocations: 317.2 kB / 1.026 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.7787, allocations: 0.7319 MB / 1.026 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001048/0.7788, allocations: 21.55 kB / 1.026 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.47e-05/0.7788, allocations: 23.42 kB / 1.026 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.7789, allocations: 0 / 1.026 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of Templates: time 0.004649/0.7835, allocations: 1.431 MB / 1.028 GB, free: 7.48 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/jenkins/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