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.001619/0.001619, allocations: 104.5 kB / 16.27 MB, free: 6.414 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.001774/0.001774, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.422/1.422, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.291/2.291, allocations: 390.2 MB / 0.6653 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 63.36 kB / 0.8132 GB, free: 32.94 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2692, allocations: 140.4 MB / 0.9503 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.002832/0.2721, allocations: 1.016 MB / 0.9513 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001414/0.2735, allocations: 0.9752 MB / 0.9523 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.2737, allocations: 4 kB / 0.9523 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 7.589e-05/0.2738, allocations: 23.73 kB / 0.9523 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.274, allocations: 19.8 kB / 0.9523 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.2742, allocations: 59.88 kB / 0.9524 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.2745, allocations: 156.1 kB / 0.9525 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002366/0.2747, allocations: 92.16 kB / 0.9526 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.2749, allocations: 75.66 kB / 0.9527 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.2751, allocations: 71.67 kB / 0.9527 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.112e-05/0.2751, allocations: 16 kB / 0.9528 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.144e-05/0.2751, allocations: 19.94 kB / 0.9528 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.366e-05/0.2752, allocations: 35.86 kB / 0.9528 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.744e-05/0.2753, allocations: 75.59 kB / 0.9529 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.2756, allocations: 203.6 kB / 0.9531 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2756, allocations: 0 / 0.9531 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2756, allocations: 0 / 0.9531 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.2756, allocations: 0 / 0.9531 GB, free: 5.984 MB / 0.7325 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.0007752/0.2764, allocations: 455.1 kB / 0.9535 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.2764, allocations: 12.02 kB / 0.9535 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.127e-05/0.2765, allocations: 16.75 kB / 0.9535 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004578/0.277, allocations: 254.1 kB / 0.9538 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.277, allocations: 8.656 kB / 0.9538 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.277, allocations: 16.36 kB / 0.9538 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003279/0.2774, allocations: 156 kB / 0.954 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2774, allocations: 0 / 0.954 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.2774, allocations: 8 kB / 0.954 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.2774, allocations: 0 / 0.954 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003337/0.2778, allocations: 112.8 kB / 0.9541 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007092/0.2785, allocations: 480 kB / 0.9545 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/0.2788, allocations: 102.7 kB / 0.9546 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.279, allocations: 56.75 kB / 0.9547 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.279, allocations: 0 / 0.9547 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.279, allocations: 30.56 kB / 0.9547 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.279, allocations: 4 kB / 0.9547 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0005508/0.2796, allocations: 165.5 kB / 0.9549 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.2796, allocations: 55.39 kB / 0.9549 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.2798, allocations: 152.4 kB / 0.9551 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.2798, allocations: 37.62 kB / 0.9551 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.292e-05/0.2799, allocations: 120.1 kB / 0.9552 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.2799, allocations: 27.56 kB / 0.9553 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.968e-05/0.28, allocations: 45.64 kB / 0.9553 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2801, allocations: 326.8 kB / 0.9556 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.2802, allocations: 47.89 kB / 0.9557 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.2804, allocations: 67.41 kB / 0.9557 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/0.2807, allocations: 107.3 kB / 0.9558 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2808, allocations: 0 / 0.9558 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003698/0.2811, allocations: 149.8 kB / 0.956 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.2812, allocations: 8.094 kB / 0.956 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2812, allocations: 3.938 kB / 0.956 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.2812, allocations: 4 kB / 0.956 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.2814, allocations: 27.91 kB / 0.956 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.2814, allocations: 4 kB / 0.956 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.2815, allocations: 4 kB / 0.956 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.2815, allocations: 15.92 kB / 0.956 GB, free: 2.727 MB / 0.7325 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.0001124/0.2816, allocations: 129.8 kB / 0.9561 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/0.2817, allocations: 15.81 kB / 0.9562 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.637e-05/0.2817, allocations: 16.72 kB / 0.9562 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.2817, allocations: 4 kB / 0.9562 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2817, allocations: 0 / 0.9562 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.2817, allocations: 3.984 kB / 0.9562 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.282, allocations: 233.5 kB / 0.9564 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.282, allocations: 0 / 0.9564 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.2821, allocations: 27.91 kB / 0.9564 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2821, allocations: 0 / 0.9564 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.2822, allocations: 4 kB / 0.9564 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2822, allocations: 0 / 0.9564 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.2822, allocations: 0 / 0.9564 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003882/0.2826, allocations: 235.3 kB / 0.9567 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.994e-05/0.2826, allocations: 88.92 kB / 0.9568 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.2827, allocations: 0 / 0.9568 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.2828, allocations: 15.98 kB / 0.9568 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.874e-05/0.2829, allocations: 15.98 kB / 0.9568 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.2829, allocations: 3.984 kB / 0.9568 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.001e-05/0.283, allocations: 113.1 kB / 0.9569 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.4e-07/0.283, allocations: 0 / 0.9569 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002736/0.2833, allocations: 23.94 kB / 0.9569 GB, free: 1.723 MB / 0.7325 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.0001377/0.2834, allocations: 111.2 kB / 0.957 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003785/0.2838, allocations: 107.9 kB / 0.9571 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.2838, allocations: 0 / 0.9571 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.284, allocations: 71.77 kB / 0.9572 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.2843, allocations: 8 kB / 0.9572 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007682/0.2851, allocations: 294.5 kB / 0.9575 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.2855, allocations: 0.7196 MB / 0.9582 GB, free: 360 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.72e-05/0.2856, allocations: 15.44 kB / 0.9582 GB, free: 344 kB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.2856, allocations: 0 / 0.9582 GB, free: 344 kB / 0.7325 GB Notification: Performance of Templates: time 0.003875/0.2894, allocations: 1.642 MB / 0.9598 GB, free: 14.7 MB / 0.7481 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