Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.SeriesFanCVF.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_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007645/0.007645, allocations: 97.28 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.001743/0.001743, allocations: 202.1 kB / 16.68 MB, free: 5.977 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.554/1.554, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.854/2.854, allocations: 437 MB / 0.7105 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 67.89 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3922, allocations: 151.6 MB / 1.167 GB, free: 6.809 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002495/0.3947, allocations: 1.005 MB / 1.168 GB, free: 5.793 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.3962, allocations: 0.983 MB / 1.169 GB, free: 4.797 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.09e-05/0.3963, allocations: 4 kB / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.441e-05/0.3964, allocations: 15.8 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.3965, allocations: 15.8 kB / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.3967, allocations: 59.88 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.3969, allocations: 155.7 kB / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002171/0.3971, allocations: 88.17 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.3973, allocations: 67.72 kB / 1.169 GB, free: 4.398 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.3974, allocations: 75.61 kB / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.578e-05/0.3975, allocations: 16 kB / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.025e-05/0.3975, allocations: 16 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.333e-05/0.3976, allocations: 35.91 kB / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.609e-05/0.3977, allocations: 75.59 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003135/0.398, allocations: 203.1 kB / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.398, allocations: 4 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.663e-06/0.398, allocations: 0 / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.398, allocations: 0 / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0006958/0.3987, allocations: 455 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.3988, allocations: 8.031 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.145e-05/0.3988, allocations: 16.84 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000429/0.3993, allocations: 254.5 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.3993, allocations: 12.66 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.3993, allocations: 12.38 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003644/0.3997, allocations: 148.3 kB / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.3997, allocations: 4.188 kB / 1.17 GB, free: 2.996 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.3997, allocations: 7.938 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.3997, allocations: 4 kB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003317/0.4001, allocations: 116.7 kB / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007991/0.4009, allocations: 468.3 kB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/0.4012, allocations: 110.5 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.4014, allocations: 52.83 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.4014, allocations: 0 / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.618e-05/0.4015, allocations: 30.56 kB / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 8.82e-07/0.4015, allocations: 7.938 kB / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.000609/0.4021, allocations: 165.5 kB / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.887e-05/0.4022, allocations: 55.41 kB / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.4024, allocations: 156.8 kB / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.4024, allocations: 29.7 kB / 1.171 GB, free: 1.711 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.4026, allocations: 123.8 kB / 1.172 GB, free: 1.586 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.301e-05/0.4026, allocations: 39.72 kB / 1.172 GB, free: 1.547 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.343e-05/0.4027, allocations: 33.7 kB / 1.172 GB, free: 1.508 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002055/0.4029, allocations: 326.8 kB / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.4031, allocations: 43.97 kB / 1.172 GB, free: 1.137 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.4033, allocations: 71.39 kB / 1.172 GB, free: 1.055 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003029/0.4036, allocations: 103.3 kB / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4036, allocations: 0 / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003712/0.404, allocations: 149.5 kB / 1.172 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.404, allocations: 4 kB / 1.172 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.404, allocations: 0 / 1.172 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.747e-05/0.4041, allocations: 12.08 kB / 1.172 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.4043, allocations: 23.92 kB / 1.172 GB, free: 0.75 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.4043, allocations: 4 kB / 1.172 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.577e-05/0.4044, allocations: 15.88 kB / 1.172 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.4044, allocations: 4 kB / 1.172 GB, free: 0.7266 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (reaToInt2.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 (14): * Single equations (assignments): 14 * 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.0001567/0.4046, allocations: 141.7 kB / 1.172 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.4046, allocations: 7.953 kB / 1.172 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.19e-05/0.4047, allocations: 20.7 kB / 1.172 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.4047, allocations: 4 kB / 1.172 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.4047, allocations: 0 / 1.172 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.4047, allocations: 0 / 1.172 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003402/0.405, allocations: 233.5 kB / 1.173 GB, free: 276 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.4051, allocations: 0 / 1.173 GB, free: 276 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.4052, allocations: 19.98 kB / 1.173 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4052, allocations: 0 / 1.173 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.4052, allocations: 4 kB / 1.173 GB, free: 252 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.4052, allocations: 0 / 1.173 GB, free: 252 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4052, allocations: 4 kB / 1.173 GB, free: 248 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004981/0.4057, allocations: 235.8 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.033e-05/0.4058, allocations: 88.95 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.4058, allocations: 7.938 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.406, allocations: 7.938 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.4061, allocations: 27.97 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.4061, allocations: 0 / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001015/0.4062, allocations: 111.2 kB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.4062, allocations: 0 / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002526/0.4065, allocations: 23.95 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002082/0.4067, allocations: 111.3 kB / 1.173 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004147/0.4071, allocations: 115.8 kB / 1.173 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4071, allocations: 0 / 1.173 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.4073, allocations: 51.91 kB / 1.173 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/0.4077, allocations: 25.56 kB / 1.173 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006997/0.4084, allocations: 264.5 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006001/0.409, allocations: 0.7162 MB / 1.174 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.892e-05/0.4091, allocations: 20.59 kB / 1.174 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.547e-05/0.4092, allocations: 15.44 kB / 1.174 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.4092, allocations: 0 / 1.174 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of Templates: time 0.004805/0.414, allocations: 1.232 MB / 1.176 GB, free: 13.16 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches