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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001478/0.001478, allocations: 108.8 kB / 16.27 MB, free: 6.355 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.001478/0.001479, allocations: 195.1 kB / 17.2 MB, free: 5.953 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.506/1.506, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.684/2.684, allocations: 469.4 MB / 0.7427 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001317, allocations: 70.64 kB / 0.9089 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3931, allocations: 159.1 MB / 1.064 GB, free: 15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.00269/0.3959, allocations: 1.012 MB / 1.065 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.3972, allocations: 0.9791 MB / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.3973, allocations: 4 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 7.425e-05/0.3974, allocations: 23.73 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.3976, allocations: 15.8 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.3978, allocations: 55.88 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.398, allocations: 172 kB / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002099/0.3982, allocations: 92.17 kB / 1.067 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.3984, allocations: 75.7 kB / 1.067 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.3985, allocations: 71.69 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.53e-05/0.3986, allocations: 19.94 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.831e-05/0.3986, allocations: 16 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.938e-05/0.3986, allocations: 35.91 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.486e-05/0.3987, allocations: 79.58 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.399, allocations: 199.5 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.399, allocations: 0 / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.343e-06/0.399, allocations: 0 / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.399, allocations: 0 / 1.067 GB, free: 12.14 MB / 0.8419 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.00069/0.3997, allocations: 450.9 kB / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3997, allocations: 12.03 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.577e-05/0.3998, allocations: 16.75 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004463/0.4002, allocations: 248 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.4003, allocations: 20.31 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.4003, allocations: 12.38 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000332/0.4007, allocations: 150 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.4007, allocations: 192 / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.4007, allocations: 15.81 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.4007, allocations: 4 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003358/0.4011, allocations: 115.9 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006763/0.4017, allocations: 480.1 kB / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003082/0.4021, allocations: 126.6 kB / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.4022, allocations: 52.83 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.4023, allocations: 3.984 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.4023, allocations: 34.56 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 2.955e-06/0.4023, allocations: 3.984 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.000577/0.4029, allocations: 185.6 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.4029, allocations: 51.41 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.4031, allocations: 151.5 kB / 1.069 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.4031, allocations: 33.7 kB / 1.069 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.821e-05/0.4032, allocations: 120.2 kB / 1.069 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.4032, allocations: 31.55 kB / 1.069 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.343e-05/0.4033, allocations: 33.7 kB / 1.069 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.4034, allocations: 334.8 kB / 1.07 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.4036, allocations: 39.97 kB / 1.07 GB, free: 9.25 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.4038, allocations: 67.39 kB / 1.07 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.4041, allocations: 123.3 kB / 1.07 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4041, allocations: 0 / 1.07 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000377/0.4045, allocations: 153.5 kB / 1.07 GB, free: 8.883 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.4045, allocations: 8 kB / 1.07 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.4045, allocations: 0 / 1.07 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.4045, allocations: 4 kB / 1.07 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.4047, allocations: 19.98 kB / 1.07 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.4047, allocations: 4 kB / 1.07 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.4048, allocations: 15.83 kB / 1.07 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.4049, allocations: 8 kB / 1.07 GB, free: 8.824 MB / 0.8419 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.0001095/0.405, allocations: 140.3 kB / 1.07 GB, free: 8.68 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.405, allocations: 15.8 kB / 1.07 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.907e-05/0.4051, allocations: 16.72 kB / 1.07 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.4051, allocations: 0 / 1.07 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4051, allocations: 0 / 1.07 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4051, allocations: 0 / 1.07 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.4053, allocations: 245.5 kB / 1.07 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.4054, allocations: 0 / 1.07 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.4055, allocations: 23.97 kB / 1.07 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.4055, allocations: 0 / 1.07 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.4055, allocations: 8 kB / 1.07 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4055, allocations: 3.938 kB / 1.07 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4055, allocations: 0 / 1.07 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.4059, allocations: 231.3 kB / 1.071 GB, free: 8.082 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/0.406, allocations: 92.86 kB / 1.071 GB, free: 7.973 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.406, allocations: 0 / 1.071 GB, free: 7.973 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.4061, allocations: 15.98 kB / 1.071 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.019e-05/0.4062, allocations: 15.98 kB / 1.071 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.4062, allocations: 7.984 kB / 1.071 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.238e-05/0.4063, allocations: 115.1 kB / 1.071 GB, free: 7.82 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4063, allocations: 0 / 1.071 GB, free: 7.82 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002561/0.4066, allocations: 23.91 kB / 1.071 GB, free: 7.797 MB / 0.8419 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.0001448/0.4067, allocations: 117.1 kB / 1.071 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003958/0.4071, allocations: 119.9 kB / 1.071 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.4071, allocations: 0 / 1.071 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.4073, allocations: 55.91 kB / 1.071 GB, free: 7.504 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.4077, allocations: 12 kB / 1.071 GB, free: 7.492 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005911/0.4083, allocations: 301.2 kB / 1.072 GB, free: 7.168 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.4085, allocations: 0.7123 MB / 1.072 GB, free: 6.43 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.979e-05/0.4086, allocations: 19.42 kB / 1.072 GB, free: 6.41 MB / 0.8419 GB Notification: Performance of SimCode: time 2e-07/0.4086, allocations: 0 / 1.072 GB, free: 6.41 MB / 0.8419 GB Notification: Performance of Templates: time 0.003909/0.4125, allocations: 1.699 MB / 1.074 GB, free: 4.719 MB / 0.8419 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