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.001194/0.001194, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001274/0.001274, allocations: 195.3 kB / 16.14 MB, free: 6.645 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.378/1.378, allocations: 222.9 MB / 239.8 MB, free: 4.582 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.71/2.71, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 71.89 kB / 0.8686 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7724/0.7737, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.003227/0.777, allocations: 1.171 MB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.7785, allocations: 0.9986 MB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.7787, allocations: 4 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 7.2e-05/0.7787, allocations: 11.86 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.7789, allocations: 15.84 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000252/0.7792, allocations: 67.95 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002329/0.7794, allocations: 204.2 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002828/0.7797, allocations: 121.8 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002173/0.7799, allocations: 79.56 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.7801, allocations: 87.55 kB / 1.019 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.477e-05/0.7801, allocations: 15.94 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 4.807e-05/0.7802, allocations: 16.05 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.771e-05/0.7802, allocations: 35.8 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.7803, allocations: 91.45 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003119/0.7807, allocations: 261.1 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.7807, allocations: 3.938 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.614e-06/0.7807, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.7807, allocations: 4 kB / 1.02 GB, free: 15.61 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.0008794/0.7816, allocations: 495.1 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.21e-05/0.7817, allocations: 12.03 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.397e-05/0.7817, allocations: 24.66 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004833/0.7822, allocations: 273.5 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.7823, allocations: 16.81 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.323e-05/0.7823, allocations: 20.38 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003829/0.7827, allocations: 183.8 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.7827, allocations: 3.938 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.7827, allocations: 8 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.7828, allocations: 11.98 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003686/0.7831, allocations: 149.6 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000843/0.784, allocations: 0.5686 MB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.7843, allocations: 122.7 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.7845, allocations: 64.83 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.7845, allocations: 4 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.7845, allocations: 34.5 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.392e-06/0.7846, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0005828/0.7851, allocations: 202.2 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.7852, allocations: 55.34 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.7854, allocations: 174.3 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.7854, allocations: 29.7 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.54e-05/0.7855, allocations: 148.1 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.095e-05/0.7856, allocations: 43.39 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.886e-05/0.7856, allocations: 45.7 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.7858, allocations: 326.8 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.7859, allocations: 51.97 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/0.7861, allocations: 97.05 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/0.7864, allocations: 138.4 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.7865, allocations: 0 / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000406/0.7869, allocations: 190.6 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.7869, allocations: 4 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.7869, allocations: 7.938 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.7869, allocations: 0 / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.7871, allocations: 35.86 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.7871, allocations: 4 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.7872, allocations: 27.83 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.7873, allocations: 8.156 kB / 1.023 GB, free: 11.83 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.0001365/0.7874, allocations: 150.3 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.612e-05/0.7875, allocations: 15.81 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.975e-05/0.7875, allocations: 17.53 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.7875, allocations: 3.938 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.7875, allocations: 3.938 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.7875, allocations: 0 / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/0.7878, allocations: 261.5 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.7878, allocations: 4 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.7879, allocations: 19.98 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.7879, allocations: 4 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.788, allocations: 7.984 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.788, allocations: 3.938 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.788, allocations: 0 / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000384/0.7884, allocations: 257 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.482e-05/0.7884, allocations: 92.86 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.7885, allocations: 0 / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.7886, allocations: 15.92 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.06e-05/0.7887, allocations: 19.97 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.926e-06/0.7887, allocations: 4 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.507e-05/0.7888, allocations: 121.8 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7888, allocations: 0 / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002635/0.789, allocations: 39.84 kB / 1.024 GB, free: 10.72 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.0001511/0.7892, allocations: 113.9 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003741/0.7896, allocations: 135.8 kB / 1.024 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7896, allocations: 0 / 1.024 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.7898, allocations: 76.2 kB / 1.024 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.7901, allocations: 16 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006565/0.7908, allocations: 396.6 kB / 1.025 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.7911, allocations: 0.7283 MB / 1.026 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001143/0.7912, allocations: 21.53 kB / 1.026 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.684e-05/0.7913, allocations: 19.44 kB / 1.026 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.7913, allocations: 0 / 1.026 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of Templates: time 0.004311/0.7956, allocations: 1.305 MB / 1.027 GB, free: 7.926 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