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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005476/0.005476, allocations: 97.05 kB / 15.73 MB, free: 6.062 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.001162/0.001162, allocations: 198.9 kB / 16.68 MB, free: 5.98 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.485/1.485, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.897/2.897, allocations: 469.8 MB / 0.7425 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 67.89 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3773, allocations: 159.1 MB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002983/0.3802, allocations: 1.01 MB / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001596/0.3818, allocations: 0.9752 MB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.382, allocations: 4 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.859e-05/0.3821, allocations: 19.8 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001695/0.3822, allocations: 23.75 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.3825, allocations: 63.92 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002454/0.3827, allocations: 168 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.3829, allocations: 72.17 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.3831, allocations: 67.72 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.3833, allocations: 71.69 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.639e-05/0.3833, allocations: 16 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.91e-05/0.3833, allocations: 20 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.382e-05/0.3834, allocations: 43.83 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.111e-05/0.3835, allocations: 75.55 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003338/0.3838, allocations: 211.1 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3838, allocations: 3.938 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3838, allocations: 0 / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.3838, allocations: 0 / 1.223 GB, free: 10.95 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.0007859/0.3846, allocations: 456.6 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.3846, allocations: 12.03 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.084e-05/0.3847, allocations: 24.8 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000522/0.3852, allocations: 252 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.3853, allocations: 8.375 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.3853, allocations: 16.38 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000346/0.3856, allocations: 150.9 kB / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.3856, allocations: 192 / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.3857, allocations: 7.938 kB / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.3857, allocations: 8 kB / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003371/0.386, allocations: 119.9 kB / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006596/0.3867, allocations: 476.3 kB / 1.225 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003311/0.387, allocations: 118.6 kB / 1.225 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.3871, allocations: 52.7 kB / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.3872, allocations: 4 kB / 1.225 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.3872, allocations: 30.56 kB / 1.225 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.3872, allocations: 0 / 1.225 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0005586/0.3878, allocations: 177.5 kB / 1.225 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.3878, allocations: 51.41 kB / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.3879, allocations: 156.8 kB / 1.225 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.3879, allocations: 25.7 kB / 1.225 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.314e-05/0.388, allocations: 124.3 kB / 1.226 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.3881, allocations: 39.67 kB / 1.226 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.484e-05/0.3881, allocations: 41.7 kB / 1.226 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.3882, allocations: 326.8 kB / 1.226 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.3884, allocations: 47.91 kB / 1.226 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.3886, allocations: 72.94 kB / 1.226 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/0.3888, allocations: 107.8 kB / 1.226 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.3888, allocations: 4 kB / 1.226 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003899/0.3892, allocations: 161.4 kB / 1.226 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3892, allocations: 8 kB / 1.226 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3892, allocations: 0 / 1.226 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.3893, allocations: 0 / 1.226 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.3894, allocations: 31.92 kB / 1.226 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.3894, allocations: 0 / 1.226 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.3895, allocations: 23.81 kB / 1.226 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.3896, allocations: 4 kB / 1.226 GB, free: 7.625 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.0001285/0.3897, allocations: 134.3 kB / 1.227 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.3897, allocations: 19.89 kB / 1.227 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.916e-05/0.3898, allocations: 12.72 kB / 1.227 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.3898, allocations: 4 kB / 1.227 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3898, allocations: 0 / 1.227 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3898, allocations: 0 / 1.227 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.39, allocations: 233.5 kB / 1.227 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.39, allocations: 0 / 1.227 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.3902, allocations: 23.92 kB / 1.227 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3902, allocations: 4 kB / 1.227 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.3902, allocations: 7.984 kB / 1.227 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3902, allocations: 0 / 1.227 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3902, allocations: 4 kB / 1.227 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004109/0.3906, allocations: 235.3 kB / 1.227 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/0.3906, allocations: 85.06 kB / 1.227 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.3907, allocations: 4 kB / 1.227 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.3908, allocations: 11.98 kB / 1.227 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.792e-05/0.3909, allocations: 15.98 kB / 1.227 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/0.3909, allocations: 0 / 1.227 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.701e-05/0.391, allocations: 117.1 kB / 1.227 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.391, allocations: 0 / 1.227 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002695/0.3912, allocations: 31.83 kB / 1.227 GB, free: 6.605 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.0001515/0.3914, allocations: 115.2 kB / 1.227 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003663/0.3918, allocations: 111.8 kB / 1.228 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3918, allocations: 0 / 1.228 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.3919, allocations: 55.89 kB / 1.228 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.3922, allocations: 14.62 kB / 1.228 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006013/0.3928, allocations: 284.6 kB / 1.228 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.3931, allocations: 0.7123 MB / 1.229 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.046e-05/0.3932, allocations: 17.08 kB / 1.229 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.714e-05/0.3932, allocations: 19.42 kB / 1.229 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/0.3932, allocations: 4 kB / 1.229 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of Templates: time 0.004078/0.3973, allocations: 1.251 MB / 1.23 GB, free: 4.027 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) 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) Reference file matches