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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00164/0.001639, allocations: 100.1 kB / 15.88 MB, free: 12 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.002154/0.002154, allocations: 198.2 kB / 16.79 MB, free: 6.809 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.465/1.465, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.423/2.423, allocations: 390.2 MB / 0.6649 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 59.91 kB / 0.8126 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7606/0.7623, allocations: 140.4 MB / 0.9496 GB, free: 9.379 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.003773/0.7661, allocations: 1.054 MB / 0.9507 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001917/0.7681, allocations: 0.9796 MB / 0.9516 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.7683, allocations: 2.812 kB / 0.9516 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.991e-05/0.7684, allocations: 7.922 kB / 0.9516 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001918/0.7686, allocations: 13.55 kB / 0.9516 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/0.7689, allocations: 53.47 kB / 0.9517 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002725/0.7692, allocations: 151 kB / 0.9518 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003002/0.7696, allocations: 94.41 kB / 0.9519 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002012/0.7698, allocations: 57.72 kB / 0.952 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.7699, allocations: 70.73 kB / 0.9521 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.769e-05/0.77, allocations: 8.25 kB / 0.9521 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.26e-05/0.77, allocations: 13.56 kB / 0.9521 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.7e-05/0.7701, allocations: 31.97 kB / 0.9521 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.935e-05/0.7702, allocations: 57.42 kB / 0.9522 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.7704, allocations: 161.2 kB / 0.9523 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.7704, allocations: 0 / 0.9523 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7704, allocations: 4 kB / 0.9523 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.7705, allocations: 0 / 0.9523 GB, free: 7.246 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.0008721/0.7713, allocations: 450.4 kB / 0.9527 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.7714, allocations: 9.375 kB / 0.9528 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.101e-05/0.7715, allocations: 16.75 kB / 0.9528 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005986/0.7721, allocations: 251.2 kB / 0.953 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.7722, allocations: 15.66 kB / 0.953 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.943e-05/0.7722, allocations: 12.94 kB / 0.953 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005418/0.7728, allocations: 150.1 kB / 0.9532 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.7728, allocations: 1.406 kB / 0.9532 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.7728, allocations: 4 kB / 0.9532 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-06/0.7729, allocations: 3.656 kB / 0.9532 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000617/0.7735, allocations: 115 kB / 0.9533 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000948/0.7745, allocations: 482.2 kB / 0.9538 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000442/0.7749, allocations: 115 kB / 0.9539 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002582/0.7752, allocations: 50.14 kB / 0.9539 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.7752, allocations: 1.438 kB / 0.9539 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.7753, allocations: 36.19 kB / 0.954 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 2.905e-06/0.7753, allocations: 0 / 0.954 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0009786/0.7763, allocations: 166.8 kB / 0.9541 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.7763, allocations: 52.81 kB / 0.9542 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.7765, allocations: 161.1 kB / 0.9543 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.7766, allocations: 25.7 kB / 0.9543 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.274e-05/0.7767, allocations: 123.1 kB / 0.9545 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.7767, allocations: 27.78 kB / 0.9545 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.362e-05/0.7768, allocations: 47.22 kB / 0.9545 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.188e-05/0.7769, allocations: 325.7 kB / 0.9548 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/0.7772, allocations: 38.19 kB / 0.9549 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/0.7775, allocations: 73.89 kB / 0.9549 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004902/0.778, allocations: 104.8 kB / 0.955 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.778, allocations: 0 / 0.955 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006231/0.7786, allocations: 151.8 kB / 0.9552 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.7787, allocations: 5.375 kB / 0.9552 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.7787, allocations: 0.875 kB / 0.9552 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.7787, allocations: 1.969 kB / 0.9552 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002838/0.779, allocations: 33.84 kB / 0.9552 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.7791, allocations: 6.422 kB / 0.9552 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.7793, allocations: 21.92 kB / 0.9553 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.7793, allocations: 8.469 kB / 0.9553 GB, free: 4.691 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 0.0001332/0.7795, allocations: 126.8 kB / 0.9554 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.053e-05/0.7795, allocations: 7.594 kB / 0.9554 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.243e-05/0.7796, allocations: 15.44 kB / 0.9554 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.7796, allocations: 6.203 kB / 0.9554 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.7796, allocations: 0 / 0.9554 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.7796, allocations: 4 kB / 0.9554 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003358/0.78, allocations: 234.7 kB / 0.9556 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.78, allocations: 0 / 0.9556 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.7802, allocations: 30.28 kB / 0.9557 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.7802, allocations: 0 / 0.9557 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.7803, allocations: 5.125 kB / 0.9557 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.7803, allocations: 5 kB / 0.9557 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.7803, allocations: 0 / 0.9557 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006033/0.7809, allocations: 222.1 kB / 0.9559 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.04e-05/0.781, allocations: 95.14 kB / 0.956 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.589e-05/0.781, allocations: 5.719 kB / 0.956 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.7812, allocations: 8.453 kB / 0.956 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.7814, allocations: 18.22 kB / 0.956 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.7814, allocations: 3.469 kB / 0.956 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001095/0.7815, allocations: 116 kB / 0.9561 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.7e-07/0.7815, allocations: 0 / 0.9561 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004762/0.782, allocations: 22.84 kB / 0.9562 GB, free: 3.871 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.0001368/0.7822, allocations: 116.8 kB / 0.9563 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006408/0.7828, allocations: 109.9 kB / 0.9564 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.7828, allocations: 1.062 kB / 0.9564 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002818/0.7831, allocations: 52.22 kB / 0.9564 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005656/0.7837, allocations: 17.81 kB / 0.9564 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008842/0.7846, allocations: 336.5 kB / 0.9568 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/0.7848, allocations: 0.714 MB / 0.9575 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.737e-05/0.7849, allocations: 24.33 kB / 0.9575 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of SimCode: time 6.41e-07/0.785, allocations: 0 / 0.9575 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of Templates: time 0.005789/0.7908, allocations: 1.628 MB / 0.9591 GB, free: 1.84 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/jenkins1/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