Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.001439/0.001439, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001731/0.001731, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.791/2.791, allocations: 475.9 MB / 0.7699 GB, free: 4.723 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.SeriesFanVVF.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",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.002132/0.002132, allocations: 67.61 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.4008, allocations: 169.9 MB / 1.283 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002924/0.4037, allocations: 0.9687 MB / 1.284 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001617/0.4053, allocations: 1.003 MB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.4054, allocations: 8 kB / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.293e-05/0.4055, allocations: 15.8 kB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001368/0.4056, allocations: 27.73 kB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.406, allocations: 67.86 kB / 1.285 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002203/0.4062, allocations: 164 kB / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002107/0.4064, allocations: 64.55 kB / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002445/0.4066, allocations: 75.72 kB / 1.285 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.4068, allocations: 71.61 kB / 1.285 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.949e-05/0.4068, allocations: 19.94 kB / 1.285 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.473e-05/0.4069, allocations: 24 kB / 1.285 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.742e-05/0.4069, allocations: 35.91 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.649e-05/0.407, allocations: 59.67 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003308/0.4073, allocations: 215.1 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.4073, allocations: 0 / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4073, allocations: 0 / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.4073, allocations: 0 / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0007335/0.4081, allocations: 385.5 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.4081, allocations: 8.031 kB / 1.286 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/0.4083, allocations: 28.84 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004808/0.4088, allocations: 190.2 kB / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.096e-05/0.4088, allocations: 16.36 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.4088, allocations: 12.38 kB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003616/0.4092, allocations: 150 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.4092, allocations: 192 / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.4092, allocations: 11.94 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.4092, allocations: 11.98 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003501/0.4096, allocations: 111.9 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006806/0.4103, allocations: 372.1 kB / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003291/0.4106, allocations: 114.6 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.4108, allocations: 56.75 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.4108, allocations: 11.94 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.4108, allocations: 34.56 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.4108, allocations: 0 / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0005978/0.4114, allocations: 173.4 kB / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.4114, allocations: 55.41 kB / 1.287 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.4116, allocations: 157.5 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.4116, allocations: 29.7 kB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.19e-05/0.4117, allocations: 132.3 kB / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.4118, allocations: 27.75 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.844e-05/0.4118, allocations: 45.69 kB / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.412, allocations: 322.8 kB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.4121, allocations: 39.91 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.4123, allocations: 79.39 kB / 1.288 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003119/0.4127, allocations: 111.3 kB / 1.288 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4127, allocations: 0 / 1.288 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000405/0.4131, allocations: 153.4 kB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.4131, allocations: 4 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.4131, allocations: 96 / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.4131, allocations: 15.92 kB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.4133, allocations: 27.92 kB / 1.289 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.4133, allocations: 0 / 1.289 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.4134, allocations: 19.94 kB / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.4134, allocations: 4 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.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 (15): * Single equations (assignments): 15 * 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.0001267/0.4135, allocations: 129.7 kB / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.582e-05/0.4136, allocations: 7.953 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.159e-05/0.4136, allocations: 20.7 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.4136, allocations: 4 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4136, allocations: 0 / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.4136, allocations: 4 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.4138, allocations: 169.1 kB / 1.289 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.4138, allocations: 7.984 kB / 1.289 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.414, allocations: 15.98 kB / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.414, allocations: 0 / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.414, allocations: 7.984 kB / 1.289 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.414, allocations: 0 / 1.289 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.414, allocations: 0 / 1.289 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004268/0.4144, allocations: 239.2 kB / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.275e-05/0.4144, allocations: 11.91 kB / 1.289 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.4145, allocations: 4 kB / 1.289 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.4146, allocations: 11.98 kB / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.419e-05/0.4146, allocations: 15.97 kB / 1.289 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.4147, allocations: 8 kB / 1.289 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.08e-05/0.4147, allocations: 103.3 kB / 1.289 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4147, allocations: 0 / 1.289 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002734/0.415, allocations: 31.94 kB / 1.289 GB, free: 5.203 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0001294/0.4151, allocations: 105 kB / 1.289 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003731/0.4155, allocations: 112.5 kB / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4155, allocations: 0 / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.4157, allocations: 60.09 kB / 1.29 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.4161, allocations: 29.05 kB / 1.29 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006104/0.4167, allocations: 276.8 kB / 1.29 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.4168, allocations: 107.2 kB / 1.29 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.398e-05/0.4169, allocations: 17.09 kB / 1.29 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.839e-05/0.4169, allocations: 19.42 kB / 1.29 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.4169, allocations: 0 / 1.29 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of Templates: time 0.004726/0.4217, allocations: 1.334 MB / 1.291 GB, free: 3.184 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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: 9.358724819496274]