Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001333/0.001333, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001324/0.001324, allocations: 189.3 kB / 16.25 MB, free: 6.625 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.423/1.423, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.385/2.385, allocations: 390.2 MB / 0.6643 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 71.89 kB / 0.8121 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7626/0.7639, allocations: 140.3 MB / 0.9491 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.002435/0.7664, allocations: 1.067 MB / 0.9502 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.7675, allocations: 0.9719 MB / 0.9511 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.941e-05/0.7676, allocations: 3.438 kB / 0.9511 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.172e-05/0.7676, allocations: 11.86 kB / 0.9511 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.7677, allocations: 9.031 kB / 0.9512 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.7679, allocations: 62.47 kB / 0.9512 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.7681, allocations: 156.7 kB / 0.9514 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.7683, allocations: 94.52 kB / 0.9515 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.7685, allocations: 64.16 kB / 0.9515 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.007e-05/0.7686, allocations: 75.42 kB / 0.9516 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.31e-05/0.7686, allocations: 16.16 kB / 0.9516 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.764e-05/0.7686, allocations: 21 kB / 0.9516 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.259e-05/0.7687, allocations: 36.22 kB / 0.9517 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.993e-05/0.7687, allocations: 73.69 kB / 0.9517 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.7689, allocations: 194.5 kB / 0.9519 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.769, allocations: 0 / 0.9519 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.769, allocations: 0 / 0.9519 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.769, allocations: 0 / 0.9519 GB, free: 6.922 MB / 0.7169 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.0005781/0.7696, allocations: 454.4 kB / 0.9523 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.7696, allocations: 9.625 kB / 0.9524 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.013e-05/0.7697, allocations: 17 kB / 0.9524 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.77, allocations: 256.5 kB / 0.9526 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.7701, allocations: 11.44 kB / 0.9526 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.7701, allocations: 13.22 kB / 0.9526 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003163/0.7704, allocations: 150.9 kB / 0.9528 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.7704, allocations: 0 / 0.9528 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.7705, allocations: 5.438 kB / 0.9528 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.7705, allocations: 2.938 kB / 0.9528 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003065/0.7708, allocations: 119.2 kB / 0.9529 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005865/0.7714, allocations: 485.9 kB / 0.9534 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002621/0.7717, allocations: 104.1 kB / 0.9535 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/0.7718, allocations: 48.33 kB / 0.9535 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.7718, allocations: 5.562 kB / 0.9535 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.4e-05/0.7718, allocations: 32.09 kB / 0.9536 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.7718, allocations: 4 kB / 0.9536 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0005221/0.7724, allocations: 167.9 kB / 0.9537 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.7724, allocations: 52.16 kB / 0.9538 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.7725, allocations: 153.7 kB / 0.9539 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.7726, allocations: 29.7 kB / 0.9539 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.234e-05/0.7726, allocations: 119.6 kB / 0.9541 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.7726, allocations: 36.06 kB / 0.9541 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.334e-05/0.7727, allocations: 41.48 kB / 0.9541 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.907e-05/0.7728, allocations: 326.4 kB / 0.9544 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.7729, allocations: 45.31 kB / 0.9545 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.7731, allocations: 73.98 kB / 0.9546 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.7733, allocations: 106.3 kB / 0.9547 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.7733, allocations: 0 / 0.9547 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003238/0.7737, allocations: 151.5 kB / 0.9548 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.7737, allocations: 5.188 kB / 0.9548 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.7737, allocations: 5.156 kB / 0.9548 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.7737, allocations: 2.688 kB / 0.9548 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.7739, allocations: 30.17 kB / 0.9548 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.7739, allocations: 1.281 kB / 0.9548 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.632e-05/0.774, allocations: 26.64 kB / 0.9549 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.774, allocations: 7.719 kB / 0.9549 GB, free: 4.355 MB / 0.7169 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 8.434e-05/0.7741, allocations: 123 kB / 0.955 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.269e-05/0.7741, allocations: 17.2 kB / 0.955 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.086e-05/0.7742, allocations: 11.16 kB / 0.955 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.7742, allocations: 1.438 kB / 0.955 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-06/0.7742, allocations: 0 / 0.955 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.7742, allocations: 1.375 kB / 0.955 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.7744, allocations: 237.3 kB / 0.9552 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.7744, allocations: 4 kB / 0.9553 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.7745, allocations: 26.45 kB / 0.9553 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.7746, allocations: 3.938 kB / 0.9553 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.7746, allocations: 5.484 kB / 0.9553 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.7746, allocations: 1.375 kB / 0.9553 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.7746, allocations: 0 / 0.9553 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.7749, allocations: 228.5 kB / 0.9555 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.734e-05/0.7749, allocations: 91.92 kB / 0.9556 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.775, allocations: 5.125 kB / 0.9556 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.7751, allocations: 9.016 kB / 0.9556 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.825e-05/0.7752, allocations: 14.36 kB / 0.9556 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.7752, allocations: 7.156 kB / 0.9556 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.74e-05/0.7752, allocations: 116.2 kB / 0.9557 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7752, allocations: 0 / 0.9557 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002507/0.7755, allocations: 29.91 kB / 0.9558 GB, free: 3.527 MB / 0.7169 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.0001228/0.7756, allocations: 104.1 kB / 0.9559 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003644/0.776, allocations: 111.5 kB / 0.956 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.776, allocations: 0 / 0.956 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.7762, allocations: 64.89 kB / 0.956 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.7765, allocations: 13.66 kB / 0.956 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005118/0.777, allocations: 321.3 kB / 0.9564 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.7772, allocations: 0.7142 MB / 0.9571 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.122e-05/0.7773, allocations: 20.64 kB / 0.9571 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.747e-05/0.7773, allocations: 19.06 kB / 0.9571 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7773, allocations: 1.062 kB / 0.9571 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of Templates: time 0.003407/0.7808, allocations: 1.128 MB / 0.9582 GB, free: 1.812 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches