Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.CoolingOnly.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.CoolingOnly.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.CoolingOnly.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, 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.001406/0.001406, allocations: 198.8 kB / 16.53 MB, free: 6.391 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.549/1.549, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.797/2.797, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 64.14 kB / 0.8693 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7756/0.7769, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.002848/0.7798, allocations: 1.012 MB / 1.018 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.7812, allocations: 0.9752 MB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.7813, allocations: 0 / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 6.589e-05/0.7814, allocations: 15.75 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.7816, allocations: 19.8 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.7818, allocations: 63.86 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.7821, allocations: 160.1 kB / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002476/0.7823, allocations: 92.16 kB / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000222/0.7825, allocations: 71.7 kB / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.7827, allocations: 71.69 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.392e-05/0.7828, allocations: 16 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.261e-05/0.7828, allocations: 16 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.517e-05/0.7829, allocations: 43.78 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.714e-05/0.783, allocations: 75.59 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.7832, allocations: 193.4 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.7832, allocations: 3.984 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.442e-06/0.7833, allocations: 0 / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.7833, allocations: 0 / 1.02 GB, free: 15.65 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.000781/0.7841, allocations: 452.5 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.7841, allocations: 8.031 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.723e-05/0.7842, allocations: 20.75 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004795/0.7847, allocations: 260.2 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.7847, allocations: 8.656 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.7847, allocations: 12.38 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003511/0.7851, allocations: 144.4 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.7851, allocations: 192 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.7851, allocations: 11.94 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.7852, allocations: 4 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003405/0.7855, allocations: 120.7 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007219/0.7862, allocations: 484.1 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.7865, allocations: 102.5 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.7867, allocations: 48.89 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.7867, allocations: 3.938 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.7867, allocations: 46.48 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.233e-06/0.7867, allocations: 4 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0005211/0.7873, allocations: 157.5 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.7873, allocations: 51.41 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.7874, allocations: 161.5 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.7875, allocations: 29.7 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.578e-05/0.7875, allocations: 120.1 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.7876, allocations: 35.53 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.745e-05/0.7876, allocations: 41.7 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.7878, allocations: 322.8 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.7879, allocations: 39.97 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.7881, allocations: 81.33 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002806/0.7884, allocations: 107.7 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.7884, allocations: 4 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003683/0.7888, allocations: 153.3 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.7888, allocations: 4 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.7888, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.7888, allocations: 4 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.789, allocations: 19.98 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.108e-06/0.789, allocations: 12.03 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.7891, allocations: 15.92 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.7891, allocations: 4 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (reaToInt2.y,actAirSet.intEqu1.y,actAirSet.intEqu2.y,actAirSet.intEqu.y,actAirSet.or3.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 (14): * Single equations (assignments): 14 * 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.0001066/0.7893, allocations: 135.5 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.436e-05/0.7893, allocations: 11.81 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.338e-05/0.7893, allocations: 12.72 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.7893, allocations: 4 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.7893, allocations: 4 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.7894, allocations: 0 / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.7896, allocations: 229.5 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.7896, allocations: 0 / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.7897, allocations: 23.92 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.7897, allocations: 0 / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.7898, allocations: 7.984 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.7898, allocations: 4 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.7898, allocations: 0 / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.7901, allocations: 231.3 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/0.7902, allocations: 92.86 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.7902, allocations: 7.938 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.7903, allocations: 7.984 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.901e-05/0.7904, allocations: 15.98 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.7904, allocations: 4 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.408e-05/0.7905, allocations: 119.2 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7905, allocations: 0 / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002569/0.7908, allocations: 23.94 kB / 1.024 GB, free: 11.37 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: 5 (actAirSet.or3.y,actAirSet.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001279/0.7909, allocations: 111.2 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003792/0.7913, allocations: 111.8 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.7913, allocations: 8.188 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.7915, allocations: 59.89 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.7918, allocations: 12 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005506/0.7924, allocations: 264.7 kB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.7927, allocations: 0.7158 MB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.943e-05/0.7928, allocations: 16.64 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.7928, allocations: 19.44 kB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of SimCode: time 6.51e-07/0.7928, allocations: 0 / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of Templates: time 0.004143/0.797, allocations: 1.22 MB / 1.026 GB, free: 8.824 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches