Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002055/0.002055, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002827/0.002827, allocations: 154.8 kB / 23.01 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.871/2.871, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002365/0.002365, allocations: 63.91 kB / 0.982 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9981/1, allocations: 176.1 MB / 1.154 GB, free: 33.35 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002253/1.003, allocations: 1.213 MB / 1.155 GB, free: 32.57 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001135/1.004, allocations: 1.114 MB / 1.156 GB, free: 31.74 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/1.004, allocations: 5.438 kB / 1.156 GB, free: 31.74 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001556/1.004, allocations: 38.31 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.043e-05/1.004, allocations: 35.89 kB / 1.156 GB, free: 31.68 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/1.004, allocations: 127 kB / 1.156 GB, free: 31.6 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002274/1.005, allocations: 296.6 kB / 1.157 GB, free: 31.45 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000203/1.005, allocations: 120.7 kB / 1.157 GB, free: 31.38 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/1.005, allocations: 128.7 kB / 1.157 GB, free: 31.31 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/1.005, allocations: 112.9 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/1.005, allocations: 32.31 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.13e-05/1.005, allocations: 34.16 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.21e-05/1.005, allocations: 65.92 kB / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.911e-05/1.005, allocations: 110.2 kB / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003286/1.006, allocations: 417 kB / 1.158 GB, free: 30.97 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/1.006, allocations: 4 kB / 1.158 GB, free: 30.96 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.232e-06/1.006, allocations: 0 / 1.158 GB, free: 30.96 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.023e-06/1.006, allocations: 2.719 kB / 1.158 GB, free: 30.96 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0007003/1.006, allocations: 490.9 kB / 1.158 GB, free: 30.57 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/1.006, allocations: 10.72 kB / 1.158 GB, free: 30.57 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/1.007, allocations: 39.16 kB / 1.158 GB, free: 30.55 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005065/1.007, allocations: 255.2 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/1.007, allocations: 24.19 kB / 1.158 GB, free: 30.34 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/1.007, allocations: 29.09 kB / 1.158 GB, free: 30.33 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004064/1.008, allocations: 259.2 kB / 1.159 GB, free: 30.2 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/1.008, allocations: 192 / 1.159 GB, free: 30.2 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/1.008, allocations: 14.47 kB / 1.159 GB, free: 30.19 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/1.008, allocations: 7.656 kB / 1.159 GB, free: 30.19 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004062/1.008, allocations: 192.4 kB / 1.159 GB, free: 30.12 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007299/1.009, allocations: 0.5493 MB / 1.159 GB, free: 29.73 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003953/1.009, allocations: 172.6 kB / 1.16 GB, free: 29.66 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/1.009, allocations: 68.3 kB / 1.16 GB, free: 29.63 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/1.009, allocations: 3 kB / 1.16 GB, free: 29.63 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.54e-05/1.009, allocations: 34.56 kB / 1.16 GB, free: 29.59 MB / 1.076 GB Notification: Performance of pre-optimization done (n=19): time 1.402e-06/1.009, allocations: 0 / 1.16 GB, free: 29.59 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.000576/1.01, allocations: 234 kB / 1.16 GB, free: 29.5 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.907e-05/1.01, allocations: 54.28 kB / 1.16 GB, free: 29.43 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/1.01, allocations: 217.8 kB / 1.16 GB, free: 29.28 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/1.01, allocations: 29.7 kB / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.95e-05/1.01, allocations: 175.6 kB / 1.16 GB, free: 29.1 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/1.01, allocations: 56.38 kB / 1.16 GB, free: 29.05 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.778e-05/1.01, allocations: 63.59 kB / 1.161 GB, free: 29.01 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.106e-05/1.01, allocations: 328.5 kB / 1.161 GB, free: 28.69 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/1.011, allocations: 61.27 kB / 1.161 GB, free: 28.68 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/1.011, allocations: 126.3 kB / 1.161 GB, free: 28.59 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003153/1.011, allocations: 174.7 kB / 1.161 GB, free: 28.48 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/1.011, allocations: 0 / 1.161 GB, free: 28.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000409/1.011, allocations: 239.4 kB / 1.161 GB, free: 28.37 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/1.011, allocations: 6 kB / 1.161 GB, free: 28.37 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/1.011, allocations: 0 / 1.161 GB, free: 28.37 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/1.011, allocations: 2.938 kB / 1.161 GB, free: 28.37 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/1.012, allocations: 43.19 kB / 1.161 GB, free: 28.36 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/1.012, allocations: 2.875 kB / 1.161 GB, free: 28.36 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/1.012, allocations: 30.36 kB / 1.162 GB, free: 28.34 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/1.012, allocations: 9.344 kB / 1.162 GB, free: 28.34 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 17 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.y,actAirSet.gre.greHys.y,$PRE.actAirSet.gre.greHys.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 (27): * Single equations (assignments): 27 * 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 9.908e-05/1.012, allocations: 159 kB / 1.162 GB, free: 28.2 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/1.012, allocations: 20.33 kB / 1.162 GB, free: 28.18 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.745e-05/1.012, allocations: 26.92 kB / 1.162 GB, free: 28.16 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/1.012, allocations: 0 / 1.162 GB, free: 28.16 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/1.012, allocations: 3.031 kB / 1.162 GB, free: 28.16 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/1.012, allocations: 0 / 1.162 GB, free: 28.16 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/1.012, allocations: 211.8 kB / 1.162 GB, free: 27.99 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.012, allocations: 3.938 kB / 1.162 GB, free: 27.99 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/1.012, allocations: 31.06 kB / 1.162 GB, free: 27.98 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/1.012, allocations: 2.938 kB / 1.162 GB, free: 27.98 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/1.012, allocations: 7.938 kB / 1.162 GB, free: 27.97 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/1.012, allocations: 0 / 1.162 GB, free: 27.97 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.012, allocations: 5.922 kB / 1.162 GB, free: 27.97 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003729/1.013, allocations: 275.2 kB / 1.162 GB, free: 27.79 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.406e-05/1.013, allocations: 25.67 kB / 1.162 GB, free: 27.77 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/1.013, allocations: 7.031 kB / 1.162 GB, free: 27.77 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/1.013, allocations: 12.39 kB / 1.162 GB, free: 27.77 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.081e-05/1.013, allocations: 30.45 kB / 1.162 GB, free: 27.76 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/1.013, allocations: 6.031 kB / 1.162 GB, free: 27.76 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.514e-05/1.013, allocations: 133.2 kB / 1.162 GB, free: 27.67 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/1.013, allocations: 0 / 1.162 GB, free: 27.67 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002974/1.013, allocations: 51.89 kB / 1.162 GB, free: 27.65 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.gre.greHys.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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 9.86e-05/1.013, allocations: 121.9 kB / 1.163 GB, free: 27.55 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003996/1.014, allocations: 164.8 kB / 1.163 GB, free: 27.5 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.014, allocations: 0 / 1.163 GB, free: 27.5 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000171/1.014, allocations: 76.97 kB / 1.163 GB, free: 27.48 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/1.014, allocations: 33.8 kB / 1.163 GB, free: 27.46 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005949/1.015, allocations: 405.4 kB / 1.163 GB, free: 27.2 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.583e-05/1.015, allocations: 142.8 kB / 1.163 GB, free: 27.12 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001086/1.015, allocations: 27.42 kB / 1.163 GB, free: 27.11 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.409e-05/1.015, allocations: 30.44 kB / 1.163 GB, free: 27.1 MB / 1.076 GB Notification: Performance of SimCode: time 3.2e-07/1.015, allocations: 0 / 1.163 GB, free: 27.1 MB / 1.076 GB Notification: Performance of Templates: time 0.00519/1.02, allocations: 1.984 MB / 1.165 GB, free: 26.89 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.081497713923454]