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.001581/0.001581, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00209/0.00209, allocations: 220.7 kB / 23.01 MB, free: 4.609 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.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 3.161/3.161, allocations: 0.49 GB / 0.7958 GB, free: 33.24 MB / 0.6231 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.002042/0.002042, allocations: 70 kB / 1.155 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.343, allocations: 176.1 MB / 1.327 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002893/0.3459, allocations: 1.31 MB / 1.328 GB, free: 180 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002162/0.3481, allocations: 1.127 MB / 1.33 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002101/0.3483, allocations: 7.938 kB / 1.33 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002114/0.3485, allocations: 35.61 kB / 1.33 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.3486, allocations: 47.59 kB / 1.33 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004154/0.349, allocations: 115.8 kB / 1.33 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004589/0.3495, allocations: 296.4 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003503/0.3498, allocations: 129.4 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003053/0.3501, allocations: 123.5 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.3504, allocations: 131.3 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.623e-05/0.3504, allocations: 32 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.984e-05/0.3505, allocations: 39.94 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.124e-05/0.3506, allocations: 67.78 kB / 1.331 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.3508, allocations: 139.2 kB / 1.331 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006763/0.3515, allocations: 414.2 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3515, allocations: 0 / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3515, allocations: 0 / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.3515, allocations: 0 / 1.331 GB, free: 13.48 MB / 1.029 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.001183/0.3527, allocations: 497.6 kB / 1.332 GB, free: 12.96 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.3527, allocations: 12.03 kB / 1.332 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002563/0.353, allocations: 44.73 kB / 1.332 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008048/0.3538, allocations: 247.5 kB / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.963e-05/0.3538, allocations: 28.91 kB / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.476e-05/0.3539, allocations: 24.38 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006979/0.3546, allocations: 238.6 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.3546, allocations: 4.188 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.69e-05/0.3546, allocations: 11.94 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.3546, allocations: 8 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006953/0.3553, allocations: 186.5 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/0.3568, allocations: 0.6559 MB / 1.333 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006322/0.3575, allocations: 166.7 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002838/0.3578, allocations: 78.12 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.3578, allocations: 0 / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.3578, allocations: 38.56 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.483e-06/0.3578, allocations: 0 / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.0009312/0.3588, allocations: 227 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.3588, allocations: 55.39 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/0.3591, allocations: 211.6 kB / 1.334 GB, free: 10.63 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.896e-05/0.3591, allocations: 33.7 kB / 1.334 GB, free: 10.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.3593, allocations: 172.7 kB / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.801e-05/0.3594, allocations: 51.58 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.3595, allocations: 65.88 kB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002078/0.3597, allocations: 330.8 kB / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/0.36, allocations: 64.36 kB / 1.334 GB, free: 9.895 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003454/0.3604, allocations: 128.7 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005474/0.3609, allocations: 176 kB / 1.335 GB, free: 9.551 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/0.3609, allocations: 4 kB / 1.335 GB, free: 9.547 MB / 1.029 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007713/0.3617, allocations: 230.9 kB / 1.335 GB, free: 9.316 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.3617, allocations: 4 kB / 1.335 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.3617, allocations: 4 kB / 1.335 GB, free: 9.309 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.3617, allocations: 4 kB / 1.335 GB, free: 9.305 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/0.362, allocations: 35.91 kB / 1.335 GB, free: 9.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.362, allocations: 4 kB / 1.335 GB, free: 9.266 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.3623, allocations: 35.98 kB / 1.335 GB, free: 9.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.67e-05/0.3623, allocations: 12 kB / 1.335 GB, free: 9.219 MB / 1.029 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 0.0002238/0.3625, allocations: 154 kB / 1.335 GB, free: 9.059 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.986e-05/0.3626, allocations: 15.91 kB / 1.335 GB, free: 9.043 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.698e-05/0.3626, allocations: 25.8 kB / 1.335 GB, free: 9.016 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3627, allocations: 0 / 1.335 GB, free: 9.016 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3627, allocations: 4 kB / 1.335 GB, free: 9.012 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3627, allocations: 0 / 1.335 GB, free: 9.012 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005122/0.3632, allocations: 284.4 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3632, allocations: 4 kB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.3634, allocations: 27.91 kB / 1.335 GB, free: 8.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3634, allocations: 0 / 1.335 GB, free: 8.66 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.3634, allocations: 0 / 1.335 GB, free: 8.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3634, allocations: 4 kB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3634, allocations: 3.938 kB / 1.335 GB, free: 8.652 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007065/0.3641, allocations: 291.1 kB / 1.336 GB, free: 8.352 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.956e-05/0.3642, allocations: 15.84 kB / 1.336 GB, free: 8.336 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.461e-05/0.3642, allocations: 8 kB / 1.336 GB, free: 8.328 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.3644, allocations: 11.98 kB / 1.336 GB, free: 8.316 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.3645, allocations: 27.95 kB / 1.336 GB, free: 8.289 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.3646, allocations: 4 kB / 1.336 GB, free: 8.285 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001746/0.3647, allocations: 137.5 kB / 1.336 GB, free: 8.152 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3647, allocations: 4 kB / 1.336 GB, free: 8.148 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000524/0.3653, allocations: 51.84 kB / 1.336 GB, free: 8.098 MB / 1.029 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 0.0001743/0.3654, allocations: 111.2 kB / 1.336 GB, free: 7.977 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006171/0.366, allocations: 166.1 kB / 1.336 GB, free: 7.816 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.366, allocations: 4 kB / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002803/0.3663, allocations: 75.89 kB / 1.336 GB, free: 7.738 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004971/0.3668, allocations: 28.95 kB / 1.336 GB, free: 7.711 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.368, allocations: 441.4 kB / 1.337 GB, free: 7.25 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005057/0.3685, allocations: 0.7487 MB / 1.338 GB, free: 6.477 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.3686, allocations: 31.42 kB / 1.338 GB, free: 6.445 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/0.3686, allocations: 0 / 1.338 GB, free: 6.445 MB / 1.029 GB Notification: Performance of Templates: time 0.00718/0.3758, allocations: 2.763 MB / 1.34 GB, free: 3.695 MB / 1.029 GB " [Timeout remaining time 300] 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 -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: 11.397820710990345]