Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.SeriesFanVVF.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",fileNamePrefix="Buildings_9_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=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, 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.001382/0.001382, allocations: 195.9 kB / 16.26 MB, free: 6.629 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.42/1.42, allocations: 222.9 MB / 239.9 MB, free: 4.48 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.595/2.595, allocations: 390.2 MB / 0.6643 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 71.89 kB / 0.8121 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7785/0.7798, allocations: 140.4 MB / 0.9491 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002756/0.7827, allocations: 1.061 MB / 0.9502 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.7838, allocations: 0.9673 MB / 0.9511 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.087e-05/0.7839, allocations: 2.75 kB / 0.9511 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.858e-05/0.784, allocations: 11.86 kB / 0.9511 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.7841, allocations: 9.25 kB / 0.9511 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002102/0.7843, allocations: 61.58 kB / 0.9512 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.7845, allocations: 152.2 kB / 0.9513 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.7847, allocations: 83.8 kB / 0.9514 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.7848, allocations: 68.33 kB / 0.9515 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.877e-05/0.7849, allocations: 74.75 kB / 0.9516 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.34e-05/0.785, allocations: 21.09 kB / 0.9516 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.687e-05/0.785, allocations: 15.72 kB / 0.9516 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.082e-05/0.785, allocations: 28.67 kB / 0.9516 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.349e-05/0.7851, allocations: 76.48 kB / 0.9517 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.7853, allocations: 193.4 kB / 0.9519 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.7853, allocations: 1.219 kB / 0.9519 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7853, allocations: 0 / 0.9519 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.7853, allocations: 0 / 0.9519 GB, free: 6.961 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0005541/0.7859, allocations: 449.8 kB / 0.9523 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.7859, allocations: 13.34 kB / 0.9523 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/0.786, allocations: 15.94 kB / 0.9523 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.7863, allocations: 253.8 kB / 0.9526 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.7863, allocations: 11.19 kB / 0.9526 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.7864, allocations: 12.84 kB / 0.9526 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000291/0.7867, allocations: 145.5 kB / 0.9527 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.7867, allocations: 4 kB / 0.9528 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.7867, allocations: 5.156 kB / 0.9528 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.7867, allocations: 3.469 kB / 0.9528 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003184/0.787, allocations: 118.3 kB / 0.9529 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005365/0.7876, allocations: 476 kB / 0.9533 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/0.7879, allocations: 106.9 kB / 0.9534 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.788, allocations: 57.41 kB / 0.9535 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.788, allocations: 1.5 kB / 0.9535 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.49e-05/0.7881, allocations: 35.84 kB / 0.9535 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/0.7881, allocations: 0 / 0.9535 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.000492/0.7886, allocations: 163.2 kB / 0.9537 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.7886, allocations: 58 kB / 0.9537 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.628e-05/0.7887, allocations: 155.8 kB / 0.9539 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.7887, allocations: 25.7 kB / 0.9539 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.382e-05/0.7888, allocations: 123 kB / 0.954 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.7888, allocations: 29.31 kB / 0.954 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-05/0.7888, allocations: 37.14 kB / 0.9541 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.645e-05/0.7889, allocations: 325.7 kB / 0.9544 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.789, allocations: 47.33 kB / 0.9544 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.7892, allocations: 68.41 kB / 0.9545 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002485/0.7894, allocations: 109.8 kB / 0.9546 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.7894, allocations: 0 / 0.9546 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003198/0.7898, allocations: 155.4 kB / 0.9548 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.7898, allocations: 7.875 kB / 0.9548 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.7898, allocations: 1.125 kB / 0.9548 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.7898, allocations: 2.188 kB / 0.9548 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.79, allocations: 31.31 kB / 0.9548 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.79, allocations: 1.469 kB / 0.9548 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.191e-05/0.7901, allocations: 18 kB / 0.9548 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.7901, allocations: 11.89 kB / 0.9548 GB, free: 4.41 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.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 (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 7.732e-05/0.7902, allocations: 126.4 kB / 0.9549 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.378e-05/0.7902, allocations: 12.94 kB / 0.955 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.117e-05/0.7903, allocations: 11.53 kB / 0.955 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.7903, allocations: 5.156 kB / 0.955 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.7903, allocations: 0 / 0.955 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.7903, allocations: 0 / 0.955 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.7905, allocations: 237.3 kB / 0.9552 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.7905, allocations: 1.281 kB / 0.9552 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.7906, allocations: 17.77 kB / 0.9552 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.7906, allocations: 7.984 kB / 0.9552 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.7906, allocations: 5.031 kB / 0.9552 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.7906, allocations: 5.062 kB / 0.9552 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.7907, allocations: 0 / 0.9552 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.791, allocations: 229.9 kB / 0.9555 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.325e-05/0.791, allocations: 87.5 kB / 0.9555 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.7911, allocations: 5.219 kB / 0.9555 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.7912, allocations: 9.672 kB / 0.9556 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.121e-05/0.7912, allocations: 17.77 kB / 0.9556 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.437e-06/0.7913, allocations: 11.53 kB / 0.9556 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.384e-05/0.7913, allocations: 113.2 kB / 0.9557 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7913, allocations: 0 / 0.9557 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002593/0.7916, allocations: 30 kB / 0.9557 GB, free: 3.578 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.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.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.0001018/0.7917, allocations: 103 kB / 0.9558 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000358/0.7921, allocations: 114.6 kB / 0.9559 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7921, allocations: 3.938 kB / 0.9559 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.7922, allocations: 56.89 kB / 0.956 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.7925, allocations: 17.09 kB / 0.956 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004674/0.793, allocations: 307 kB / 0.9563 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.7932, allocations: 0.7148 MB / 0.957 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.391e-05/0.7933, allocations: 16.36 kB / 0.957 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.853e-05/0.7933, allocations: 19.94 kB / 0.957 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of SimCode: time 2.7e-07/0.7933, allocations: 0.875 kB / 0.957 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of Templates: time 0.003404/0.7967, allocations: 1.13 MB / 0.9581 GB, free: 1.879 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches