Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.005657/0.005657, allocations: 100.8 kB / 15.87 MB, free: 6.328 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.001196/0.001196, allocations: 195.5 kB / 16.79 MB, free: 6.254 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.43/1.43, allocations: 222.9 MB / 240.5 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.87/2.87, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 68.52 kB / 0.8991 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3347, allocations: 157.4 MB / 1.053 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002801/0.3376, allocations: 1.07 MB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.3389, allocations: 0.9713 MB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.3391, allocations: 4 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.229e-05/0.3392, allocations: 11.86 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.3394, allocations: 7.938 kB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.3396, allocations: 55.89 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.3398, allocations: 156 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002226/0.34, allocations: 92.08 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.3402, allocations: 59.7 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.3403, allocations: 71.62 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.286e-05/0.3404, allocations: 16 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.263e-05/0.3404, allocations: 8 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.328e-05/0.3405, allocations: 23.91 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.641e-05/0.3405, allocations: 71.58 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.3407, allocations: 159.9 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3407, allocations: 0 / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.11e-07/0.3407, allocations: 3.938 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.3408, allocations: 0 / 1.055 GB, free: 5.461 MB / 0.8106 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.0007266/0.3415, allocations: 455 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.3415, allocations: 15.97 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.577e-05/0.3416, allocations: 16.75 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004731/0.3421, allocations: 248 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.3421, allocations: 12.38 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.3421, allocations: 12.38 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003434/0.3425, allocations: 150 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.3425, allocations: 192 / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.3425, allocations: 7.938 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.3426, allocations: 4 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003325/0.3429, allocations: 123.8 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006951/0.3436, allocations: 480.2 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.3439, allocations: 122.5 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.3441, allocations: 60.77 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.3441, allocations: 0 / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.3441, allocations: 42.5 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 9.32e-07/0.3441, allocations: 0 / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0005482/0.3447, allocations: 169.4 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.3447, allocations: 55.41 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.3449, allocations: 161.3 kB / 1.058 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.3449, allocations: 29.7 kB / 1.058 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.166e-05/0.345, allocations: 128.1 kB / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.345, allocations: 31.55 kB / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-05/0.3451, allocations: 37.7 kB / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.3452, allocations: 326.8 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.3453, allocations: 43.97 kB / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.3455, allocations: 71.39 kB / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/0.3458, allocations: 111.3 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.3458, allocations: 4 kB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003837/0.3462, allocations: 153.8 kB / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.3462, allocations: 4 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.3462, allocations: 0 / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.3463, allocations: 8.094 kB / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.3464, allocations: 23.92 kB / 1.058 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.3465, allocations: 4 kB / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.3466, allocations: 19.83 kB / 1.058 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.3466, allocations: 4 kB / 1.058 GB, free: 2.137 MB / 0.8106 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.0001148/0.3467, allocations: 133.8 kB / 1.059 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.3467, allocations: 11.91 kB / 1.059 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.3468, allocations: 16.72 kB / 1.059 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3468, allocations: 0 / 1.059 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.3468, allocations: 0 / 1.059 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.3468, allocations: 0 / 1.059 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.3471, allocations: 249.4 kB / 1.059 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3471, allocations: 0 / 1.059 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.3472, allocations: 19.97 kB / 1.059 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3472, allocations: 0 / 1.059 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.3472, allocations: 4 kB / 1.059 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.3472, allocations: 0 / 1.059 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3472, allocations: 4 kB / 1.059 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004294/0.3477, allocations: 235.3 kB / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.228e-05/0.3478, allocations: 92.86 kB / 1.059 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.3478, allocations: 4 kB / 1.059 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.3479, allocations: 11.92 kB / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.643e-05/0.348, allocations: 23.97 kB / 1.059 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.348, allocations: 4 kB / 1.059 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001082/0.3482, allocations: 114 kB / 1.059 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3482, allocations: 3.938 kB / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002894/0.3485, allocations: 20 kB / 1.059 GB, free: 1.117 MB / 0.8106 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.0002397/0.3487, allocations: 112.9 kB / 1.06 GB, free: 1 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004338/0.3492, allocations: 119.8 kB / 1.06 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.3492, allocations: 0 / 1.06 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.3494, allocations: 55.91 kB / 1.06 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.3498, allocations: 16 kB / 1.06 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008701/0.3507, allocations: 348.2 kB / 1.06 GB, free: 448 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004938/0.3512, allocations: 0.7165 MB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.935e-05/0.3513, allocations: 19.42 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.3514, allocations: 0 / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of Templates: time 0.00477/0.3561, allocations: 1.678 MB / 1.062 GB, free: 14.01 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches