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.001702/0.001702, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001703/0.001704, allocations: 193.8 kB / 16.14 MB, free: 6.676 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.639/1.639, allocations: 222.9 MB / 239.8 MB, free: 4.652 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 3.308/3.308, allocations: 469.8 MB / 0.7419 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 68.22 kB / 0.9079 GB, free: 34.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.396, allocations: 159.2 MB / 1.063 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002756/0.3988, allocations: 1.066 MB / 1.064 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.4001, allocations: 0.9753 MB / 1.065 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.746e-05/0.4002, allocations: 4 kB / 1.065 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.288e-05/0.4003, allocations: 11.86 kB / 1.065 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.4004, allocations: 7.875 kB / 1.065 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.4006, allocations: 51.97 kB / 1.065 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002185/0.4009, allocations: 156 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002845/0.4012, allocations: 88.17 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.4014, allocations: 63.7 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.4015, allocations: 63.69 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.4015, allocations: 12 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.838e-05/0.4016, allocations: 8 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.423e-05/0.4017, allocations: 31.84 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.4018, allocations: 71.58 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.4021, allocations: 199.5 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.4021, allocations: 4 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4021, allocations: 0 / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.4021, allocations: 0 / 1.066 GB, free: 11.88 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.001018/0.4031, allocations: 450.9 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.379e-05/0.4032, allocations: 8.031 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.816e-05/0.4033, allocations: 16.75 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000546/0.4038, allocations: 253.7 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.4039, allocations: 12.38 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.105e-05/0.4039, allocations: 12.38 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004215/0.4043, allocations: 146 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.4044, allocations: 192 / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.307e-05/0.4044, allocations: 11.94 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.4044, allocations: 4 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003702/0.4048, allocations: 120.8 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008506/0.4057, allocations: 484 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003299/0.406, allocations: 126.6 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.4062, allocations: 48.83 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.4062, allocations: 4 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.4062, allocations: 34.56 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 5.39e-06/0.4063, allocations: 4 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.000622/0.4069, allocations: 177.3 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.4069, allocations: 59.34 kB / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.4071, allocations: 154.3 kB / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.4071, allocations: 25.7 kB / 1.068 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.98e-05/0.4072, allocations: 124.2 kB / 1.068 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.4073, allocations: 35.55 kB / 1.068 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.29e-05/0.4074, allocations: 37.7 kB / 1.068 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.4075, allocations: 326.8 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.4077, allocations: 43.97 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.4079, allocations: 71.39 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/0.4082, allocations: 111.3 kB / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.4082, allocations: 0 / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003642/0.4085, allocations: 157.3 kB / 1.069 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.4086, allocations: 4 kB / 1.069 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.4086, allocations: 7.984 kB / 1.069 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.4086, allocations: 0 / 1.069 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.4088, allocations: 23.98 kB / 1.069 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.4088, allocations: 0 / 1.069 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.4089, allocations: 23.83 kB / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.4089, allocations: 8.094 kB / 1.069 GB, free: 8.566 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.0001398/0.4091, allocations: 137.7 kB / 1.069 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.696e-05/0.4091, allocations: 11.81 kB / 1.069 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.375e-05/0.4092, allocations: 16.72 kB / 1.069 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.4092, allocations: 0 / 1.069 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4092, allocations: 0 / 1.069 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.4092, allocations: 4 kB / 1.069 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002842/0.4095, allocations: 237.5 kB / 1.069 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4095, allocations: 0 / 1.069 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.4096, allocations: 27.97 kB / 1.069 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.4096, allocations: 3.938 kB / 1.069 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.4096, allocations: 4 kB / 1.069 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.4097, allocations: 3.938 kB / 1.069 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4097, allocations: 0 / 1.069 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004009/0.4101, allocations: 227.3 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/0.4101, allocations: 92.86 kB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.4102, allocations: 8 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.4103, allocations: 7.984 kB / 1.07 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.345e-05/0.4104, allocations: 19.97 kB / 1.07 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.4104, allocations: 0 / 1.07 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.368e-05/0.4105, allocations: 113.3 kB / 1.07 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4105, allocations: 4 kB / 1.07 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002671/0.4108, allocations: 23.91 kB / 1.07 GB, free: 7.551 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.0001667/0.4109, allocations: 115.2 kB / 1.07 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003802/0.4113, allocations: 116.5 kB / 1.07 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4113, allocations: 0 / 1.07 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.4115, allocations: 52.16 kB / 1.07 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.4119, allocations: 24.36 kB / 1.07 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006676/0.4126, allocations: 322.3 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.413, allocations: 0.7126 MB / 1.071 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001043/0.4131, allocations: 21.08 kB / 1.071 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.386e-05/0.4131, allocations: 15.44 kB / 1.071 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of SimCode: time 6.01e-07/0.4132, allocations: 4 kB / 1.071 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of Templates: time 0.004584/0.4177, allocations: 1.104 MB / 1.072 GB, free: 5.07 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/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