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.01337/0.01337, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001851/0.001851, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.541/1.541, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.366/2.366, allocations: 390.2 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 67.89 kB / 0.9509 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.076/1.078, allocations: 140.4 MB / 1.088 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.002478/1.08, allocations: 1.011 MB / 1.089 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001371/1.082, allocations: 0.9689 MB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.329e-05/1.082, allocations: 6.625 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.728e-05/1.082, allocations: 14.77 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001334/1.082, allocations: 25.75 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/1.082, allocations: 68.33 kB / 1.09 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002125/1.082, allocations: 155.5 kB / 1.09 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002328/1.083, allocations: 95.58 kB / 1.09 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/1.083, allocations: 69.12 kB / 1.09 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/1.083, allocations: 76.38 kB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.29e-05/1.083, allocations: 16.72 kB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.165e-05/1.083, allocations: 15.72 kB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.625e-05/1.083, allocations: 35.19 kB / 1.09 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.594e-05/1.083, allocations: 72.22 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003345/1.084, allocations: 212.4 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/1.084, allocations: 0 / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.212e-06/1.084, allocations: 5 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.394e-06/1.084, allocations: 0 / 1.091 GB, free: 3.652 MB / 0.8575 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.0006206/1.084, allocations: 443.1 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/1.084, allocations: 10.11 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.975e-05/1.084, allocations: 17.69 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004115/1.085, allocations: 255.3 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/1.085, allocations: 14.25 kB / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/1.085, allocations: 13.34 kB / 1.091 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003388/1.085, allocations: 152.3 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/1.085, allocations: 0 / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/1.085, allocations: 6 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-06/1.085, allocations: 2.625 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003546/1.086, allocations: 116.5 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006457/1.086, allocations: 473.4 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002735/1.086, allocations: 107.5 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/1.087, allocations: 51.09 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/1.087, allocations: 5.375 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/1.087, allocations: 35.44 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/1.087, allocations: 1.094 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0005447/1.087, allocations: 168.7 kB / 1.093 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/1.087, allocations: 57.27 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/1.087, allocations: 154.9 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/1.087, allocations: 26.42 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.194e-05/1.088, allocations: 124.1 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/1.088, allocations: 30.14 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.744e-05/1.088, allocations: 46.86 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.042e-05/1.088, allocations: 325.5 kB / 1.093 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/1.088, allocations: 39.19 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/1.088, allocations: 76.5 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/1.088, allocations: 110.7 kB / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.088, allocations: 1.812 kB / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000355/1.089, allocations: 146.6 kB / 1.094 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/1.089, allocations: 7.969 kB / 1.094 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/1.089, allocations: 2.453 kB / 1.094 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/1.089, allocations: 1.75 kB / 1.094 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/1.089, allocations: 32.22 kB / 1.094 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/1.089, allocations: 1.547 kB / 1.094 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.089e-05/1.089, allocations: 21.73 kB / 1.094 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/1.089, allocations: 8.688 kB / 1.094 GB, free: 1.402 MB / 0.8575 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 9.56e-05/1.089, allocations: 131.1 kB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/1.089, allocations: 9 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.952e-05/1.089, allocations: 17.14 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/1.089, allocations: 5.594 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.089, allocations: 0 / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/1.089, allocations: 1.578 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/1.09, allocations: 228.2 kB / 1.094 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/1.09, allocations: 4.625 kB / 1.094 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/1.09, allocations: 20.02 kB / 1.094 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/1.09, allocations: 1.281 kB / 1.094 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/1.09, allocations: 5.703 kB / 1.094 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/1.09, allocations: 0 / 1.094 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/1.09, allocations: 0.625 kB / 1.094 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/1.09, allocations: 237.4 kB / 1.094 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.649e-05/1.09, allocations: 89.06 kB / 1.094 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/1.09, allocations: 6.016 kB / 1.094 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/1.09, allocations: 7.703 kB / 1.094 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.183e-05/1.09, allocations: 16.16 kB / 1.094 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/1.09, allocations: 6.281 kB / 1.094 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.516e-05/1.09, allocations: 115 kB / 1.095 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6.01e-07/1.09, allocations: 0 / 1.095 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002446/1.091, allocations: 30.41 kB / 1.095 GB, free: 0.6367 MB / 0.8575 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.0001163/1.091, allocations: 108.2 kB / 1.095 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003601/1.091, allocations: 108.9 kB / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/1.091, allocations: 0.75 kB / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001632/1.091, allocations: 58.7 kB / 1.095 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/1.092, allocations: 14.8 kB / 1.095 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005165/1.092, allocations: 263.2 kB / 1.095 GB, free: 316 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/1.092, allocations: 0.7143 MB / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.195e-05/1.093, allocations: 16.47 kB / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.923e-05/1.093, allocations: 17.88 kB / 1.096 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of SimCode: time 4.01e-07/1.093, allocations: 0 / 1.096 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of Templates: time 0.004356/1.097, allocations: 1.22 MB / 1.097 GB, free: 15.51 MB / 0.8731 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