Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001939/0.001939, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 213.3 kB / 22.24 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.542/1.542, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.531/3.531, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ove.oveDamPos|ove.uDam|ove.yDam|ove.uHeaOff|ove.uVal|ove.yVal|ove.u1Fan|ove.y1Fan|ove.oveFan",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ove.oveDamPos|ove.uDam|ove.yDam|ove.uHeaOff|ove.uVal|ove.yVal|ove.u1Fan|ove.y1Fan|ove.oveFan",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002817/0.002817, allocations: 63.92 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4693/0.4722, allocations: 181.9 MB / 1.364 GB, free: 13.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides): time 0.002902/0.4751, allocations: 1.255 MB / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0021/0.4772, allocations: 1.338 MB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.4773, allocations: 4 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.4774, allocations: 35.53 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.4776, allocations: 35.59 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006837/0.4782, allocations: 236.5 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004439/0.4787, allocations: 376.2 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002648/0.479, allocations: 125.4 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.4792, allocations: 151.5 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.4794, allocations: 151.3 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.575e-05/0.4794, allocations: 40 kB / 1.368 GB, free: 10.01 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.4796, allocations: 51.98 kB / 1.368 GB, free: 9.957 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.731e-05/0.4796, allocations: 71.77 kB / 1.368 GB, free: 9.887 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.4798, allocations: 143.3 kB / 1.368 GB, free: 9.746 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006025/0.4804, allocations: 478.1 kB / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4804, allocations: 0 / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4804, allocations: 7.938 kB / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.4804, allocations: 0 / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001195/0.4816, allocations: 0.5655 MB / 1.369 GB, free: 8.66 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.4817, allocations: 15.97 kB / 1.369 GB, free: 8.645 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.886e-05/0.4818, allocations: 36.7 kB / 1.369 GB, free: 8.609 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009175/0.4827, allocations: 298.4 kB / 1.369 GB, free: 8.293 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.642e-05/0.4827, allocations: 29.03 kB / 1.369 GB, free: 8.266 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.794e-05/0.4828, allocations: 28.38 kB / 1.369 GB, free: 8.238 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006898/0.4835, allocations: 313.5 kB / 1.369 GB, free: 7.918 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.4835, allocations: 7.875 kB / 1.369 GB, free: 7.91 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.4835, allocations: 20 kB / 1.37 GB, free: 7.891 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.4835, allocations: 11.98 kB / 1.37 GB, free: 7.879 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006958/0.4842, allocations: 220.5 kB / 1.37 GB, free: 7.664 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.4855, allocations: 0.8283 MB / 1.371 GB, free: 6.789 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005382/0.4861, allocations: 195.8 kB / 1.371 GB, free: 6.57 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003105/0.4864, allocations: 94.61 kB / 1.371 GB, free: 6.469 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/0.4864, allocations: 8 kB / 1.371 GB, free: 6.461 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005163/0.4869, allocations: 174.7 kB / 1.371 GB, free: 6.27 MB / 1.061 GB Notification: Performance of pre-optimization done (n=22): time 1.663e-06/0.4869, allocations: 0 / 1.371 GB, free: 6.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=22): time 0.001111/0.488, allocations: 317.3 kB / 1.371 GB, free: 5.953 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.83e-05/0.4881, allocations: 106.8 kB / 1.371 GB, free: 5.824 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/0.4884, allocations: 239.9 kB / 1.372 GB, free: 5.574 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.2e-05/0.4884, allocations: 33.7 kB / 1.372 GB, free: 5.535 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.4886, allocations: 180.5 kB / 1.372 GB, free: 5.355 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.194e-05/0.4886, allocations: 71.41 kB / 1.372 GB, free: 5.285 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.4888, allocations: 77.67 kB / 1.372 GB, free: 5.203 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.4889, allocations: 330.8 kB / 1.372 GB, free: 4.871 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003881/0.4893, allocations: 133.9 kB / 1.372 GB, free: 4.73 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004466/0.4898, allocations: 225.6 kB / 1.373 GB, free: 4.465 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007267/0.4905, allocations: 305 kB / 1.373 GB, free: 4.121 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4905, allocations: 4 kB / 1.373 GB, free: 4.117 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009445/0.4914, allocations: 401.1 kB / 1.373 GB, free: 3.707 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.914e-05/0.4915, allocations: 37.73 kB / 1.373 GB, free: 3.664 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.4915, allocations: 7.984 kB / 1.373 GB, free: 3.656 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.4915, allocations: 7.938 kB / 1.373 GB, free: 3.648 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.4918, allocations: 51.91 kB / 1.373 GB, free: 3.598 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.4918, allocations: 11.92 kB / 1.373 GB, free: 3.586 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000321/0.4922, allocations: 55.8 kB / 1.373 GB, free: 3.531 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.023e-05/0.4922, allocations: 12 kB / 1.373 GB, free: 3.52 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition1,$whenCondition2,heaOff.y,$PRE.heaOff.y,reaToInt3.y,ove.intEqu2.y,ove.y1Fan,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.y,terFan.y,ove.con1.y,ove.con.y,ove.conInt6.y,ove.conInt5.y,ove.logSwi1.y,ove.conInt4.y,ove.conInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * 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.0001768/0.4924, allocations: 158.9 kB / 1.374 GB, free: 3.355 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.4924, allocations: 19.86 kB / 1.374 GB, free: 3.336 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.854e-05/0.4925, allocations: 37.33 kB / 1.374 GB, free: 3.293 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.4925, allocations: 4 kB / 1.374 GB, free: 3.289 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4925, allocations: 0 / 1.374 GB, free: 3.289 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.4925, allocations: 0 / 1.374 GB, free: 3.289 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.4928, allocations: 229 kB / 1.374 GB, free: 3.035 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4928, allocations: 4 kB / 1.374 GB, free: 3.031 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/0.493, allocations: 39.91 kB / 1.374 GB, free: 2.992 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.493, allocations: 4 kB / 1.374 GB, free: 2.988 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.4931, allocations: 7.984 kB / 1.374 GB, free: 2.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.266e-06/0.4931, allocations: 7.938 kB / 1.374 GB, free: 2.973 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4931, allocations: 0 / 1.374 GB, free: 2.973 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007009/0.4938, allocations: 272.2 kB / 1.374 GB, free: 2.684 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.569e-05/0.4938, allocations: 23.8 kB / 1.374 GB, free: 2.66 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.4938, allocations: 4 kB / 1.374 GB, free: 2.656 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.494, allocations: 19.97 kB / 1.374 GB, free: 2.637 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.4941, allocations: 39.83 kB / 1.374 GB, free: 2.598 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.4941, allocations: 20.11 kB / 1.374 GB, free: 2.578 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001279/0.4943, allocations: 141.9 kB / 1.374 GB, free: 2.441 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4943, allocations: 3.938 kB / 1.374 GB, free: 2.438 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003451/0.4946, allocations: 71.78 kB / 1.375 GB, free: 2.367 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,heaOff.y,ove.y1Fan,ove.intEqu2.y,reaToInt3.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001915/0.4948, allocations: 111.2 kB / 1.375 GB, free: 2.246 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008605/0.4957, allocations: 317.3 kB / 1.375 GB, free: 1.918 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4957, allocations: 0 / 1.375 GB, free: 1.918 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003596/0.496, allocations: 115.8 kB / 1.375 GB, free: 1.805 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.4963, allocations: 34.22 kB / 1.375 GB, free: 1.773 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009464/0.4973, allocations: 462.3 kB / 1.376 GB, free: 1.293 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001627/0.4975, allocations: 151.5 kB / 1.376 GB, free: 1.125 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001607/0.4976, allocations: 42.27 kB / 1.376 GB, free: 1.086 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.474e-05/0.4977, allocations: 31.42 kB / 1.376 GB, free: 1.055 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/0.4977, allocations: 0 / 1.376 GB, free: 1.055 MB / 1.061 GB Notification: Performance of Templates: time 0.00856/0.5063, allocations: 3.453 MB / 1.379 GB, free: 13.71 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_Overrides.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.861058935523033]