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.001376/0.001376, allocations: 105 kB / 15.98 MB, free: 6.77 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.00145/0.00145, allocations: 194.2 kB / 16.91 MB, free: 6.551 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.366/1.366, allocations: 222.9 MB / 240.6 MB, free: 4.504 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.717/2.717, allocations: 469.8 MB / 0.7427 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 66.72 kB / 0.9088 GB, free: 34.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2965, allocations: 159.2 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002349/0.2989, allocations: 1.067 MB / 1.065 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.3001, allocations: 0.9674 MB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.695e-05/0.3001, allocations: 11.94 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.369e-05/0.3002, allocations: 7.922 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.976e-05/0.3003, allocations: 7.875 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.3005, allocations: 55.95 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.3006, allocations: 164 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.3008, allocations: 92.17 kB / 1.067 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.301, allocations: 71.72 kB / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.3011, allocations: 75.67 kB / 1.067 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.3011, allocations: 19.94 kB / 1.067 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.331e-05/0.3012, allocations: 16 kB / 1.067 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.828e-05/0.3012, allocations: 35.91 kB / 1.067 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.453e-05/0.3013, allocations: 75.59 kB / 1.067 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.3015, allocations: 155.9 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3015, allocations: 0 / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.046e-06/0.3015, allocations: 0 / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.3015, allocations: 7.938 kB / 1.067 GB, free: 11.71 MB / 0.8262 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.000668/0.3022, allocations: 454.9 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.3022, allocations: 12.03 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.489e-05/0.3023, allocations: 16.75 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004328/0.3027, allocations: 252 kB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.3027, allocations: 12.38 kB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.3028, allocations: 16.38 kB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003329/0.3031, allocations: 146.9 kB / 1.068 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.3031, allocations: 192 / 1.068 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.3031, allocations: 7.938 kB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.3032, allocations: 7.984 kB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003267/0.3035, allocations: 119.9 kB / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006795/0.3042, allocations: 480.1 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.3045, allocations: 122.6 kB / 1.069 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.3046, allocations: 52.83 kB / 1.069 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.3047, allocations: 0 / 1.069 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.3047, allocations: 38.5 kB / 1.069 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 8.82e-07/0.3047, allocations: 4 kB / 1.069 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0005526/0.3053, allocations: 181.3 kB / 1.069 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.3053, allocations: 51.41 kB / 1.069 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.3055, allocations: 156.2 kB / 1.069 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.3055, allocations: 29.7 kB / 1.069 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.316e-05/0.3056, allocations: 120.2 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.3056, allocations: 35.55 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.381e-05/0.3057, allocations: 45.64 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3059, allocations: 326.8 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.306, allocations: 35.97 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.3062, allocations: 79.33 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002898/0.3065, allocations: 107.4 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3065, allocations: 4 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003602/0.3069, allocations: 161.3 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.3069, allocations: 4 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3069, allocations: 0 / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3069, allocations: 4 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.3071, allocations: 19.98 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3071, allocations: 4 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.3072, allocations: 19.83 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.3072, allocations: 4 kB / 1.07 GB, free: 8.387 MB / 0.8262 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.0001224/0.3073, allocations: 146.5 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.3074, allocations: 11.81 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.341e-05/0.3074, allocations: 12.72 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3074, allocations: 3.984 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3074, allocations: 0 / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.3074, allocations: 0 / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.3077, allocations: 241.5 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3077, allocations: 0 / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.3079, allocations: 19.97 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.3079, allocations: 4 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.3079, allocations: 7.938 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3079, allocations: 0 / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.3079, allocations: 0 / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003825/0.3083, allocations: 231.3 kB / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.343e-05/0.3084, allocations: 92.86 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.3084, allocations: 8 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.3085, allocations: 7.984 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.513e-05/0.3086, allocations: 15.98 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.3086, allocations: 11.98 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.242e-05/0.3087, allocations: 109.6 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3087, allocations: 0 / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002385/0.3089, allocations: 27.91 kB / 1.071 GB, free: 7.363 MB / 0.8262 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.0001274/0.3091, allocations: 112.3 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003883/0.3094, allocations: 124.5 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3095, allocations: 0 / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.3096, allocations: 55.91 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.3099, allocations: 20.56 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000644/0.3106, allocations: 356.5 kB / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.311, allocations: 0.7123 MB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.055e-05/0.311, allocations: 23.42 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.311, allocations: 0 / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of Templates: time 0.003352/0.3144, allocations: 1.684 MB / 1.074 GB, free: 4.238 MB / 0.8262 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=400 -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/jenkins1/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