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.001921/0.001922, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002143/0.002143, allocations: 192.3 kB / 16.14 MB, free: 6.711 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.547/1.547, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.833/2.833, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 59.91 kB / 0.8686 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7809/0.7829, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002793/0.7858, allocations: 1.182 MB / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.7872, allocations: 0.9947 MB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.01e-05/0.7873, allocations: 4 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 6.118e-05/0.7874, allocations: 15.8 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.7875, allocations: 23.78 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.7877, allocations: 67.91 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.788, allocations: 208.2 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002775/0.7883, allocations: 116.2 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001909/0.7885, allocations: 79.64 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.7886, allocations: 87.58 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.834e-05/0.7887, allocations: 12 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.135e-05/0.7887, allocations: 12 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.448e-05/0.7888, allocations: 39.8 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.7889, allocations: 83.47 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003096/0.7892, allocations: 269.1 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.7892, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.042e-06/0.7892, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.7892, allocations: 0 / 1.02 GB, free: 15.59 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.001068/0.7903, allocations: 495.1 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.09e-05/0.7904, allocations: 8.031 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.373e-05/0.7905, allocations: 28.66 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000729/0.7912, allocations: 274.1 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.543e-05/0.7913, allocations: 20.75 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.062e-05/0.7913, allocations: 20.38 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004798/0.7918, allocations: 183.8 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.7918, allocations: 3.938 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.659e-05/0.7919, allocations: 8 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.7919, allocations: 8 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004323/0.7923, allocations: 153.6 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.7935, allocations: 0.5647 MB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003761/0.7939, allocations: 126.6 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.7941, allocations: 68.81 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.7941, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.7941, allocations: 34.56 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 3.387e-06/0.7942, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0006354/0.7948, allocations: 204 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.185e-05/0.7949, allocations: 67.34 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.7951, allocations: 170.3 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.7951, allocations: 25.7 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.7952, allocations: 144.2 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.7953, allocations: 39.41 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.606e-05/0.7954, allocations: 53.69 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.7956, allocations: 322.8 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.7958, allocations: 55.95 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.796, allocations: 98.94 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/0.7963, allocations: 133 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.7963, allocations: 0 / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004388/0.7968, allocations: 186.8 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.7968, allocations: 13.97 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.7968, allocations: 7.938 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.7968, allocations: 4 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.797, allocations: 39.91 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.7971, allocations: 0 / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.7972, allocations: 19.83 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.7972, allocations: 12.16 kB / 1.023 GB, free: 11.8 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.0001516/0.7974, allocations: 142.3 kB / 1.023 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.7974, allocations: 11.81 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.485e-05/0.7975, allocations: 21.52 kB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.7975, allocations: 3.938 kB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.7975, allocations: 4 kB / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.7975, allocations: 0 / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003213/0.7978, allocations: 261.5 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.7978, allocations: 4 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.798, allocations: 23.92 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.798, allocations: 0 / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.798, allocations: 4 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.798, allocations: 3.938 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.798, allocations: 4 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004403/0.7985, allocations: 251.9 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.905e-05/0.7985, allocations: 92.86 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.7986, allocations: 4 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.7987, allocations: 15.92 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.015e-05/0.7988, allocations: 19.97 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.7988, allocations: 8 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001236/0.7989, allocations: 117.8 kB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7989, allocations: 0 / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000272/0.7992, allocations: 35.84 kB / 1.024 GB, free: 10.7 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.0001603/0.7994, allocations: 111.2 kB / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004223/0.7998, allocations: 140.7 kB / 1.024 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.7998, allocations: 0 / 1.024 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001866/0.8, allocations: 76.2 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.8004, allocations: 17.25 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008126/0.8012, allocations: 398.7 kB / 1.025 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.8017, allocations: 0.7321 MB / 1.026 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001173/0.8018, allocations: 21.55 kB / 1.026 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.123e-05/0.8019, allocations: 19.42 kB / 1.026 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of SimCode: time 6.41e-07/0.8019, allocations: 0 / 1.026 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of Templates: time 0.004767/0.8066, allocations: 1.297 MB / 1.027 GB, free: 7.902 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=400 -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