Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.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.001772/0.001772, 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.002289/0.002289, allocations: 206.7 kB / 22.24 MB, free: 5.262 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.713/1.713, allocations: 230.6 MB / 256 MB, free: 7.789 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.543/3.543, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") [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.00211/0.00211, allocations: 67.17 kB / 1.186 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4983/0.5004, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002524/0.503, allocations: 0.827 MB / 1.365 GB, free: 12.72 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.5044, allocations: 0.921 MB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.221e-05/0.5045, allocations: 4 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.527e-05/0.5046, allocations: 7.875 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.5047, allocations: 19.78 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.5049, allocations: 39.89 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.5051, allocations: 115.7 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.5052, allocations: 17.31 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.5055, allocations: 59.77 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.5056, allocations: 55.75 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.976e-05/0.5056, allocations: 15.94 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.962e-05/0.5057, allocations: 16 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.475e-05/0.5057, allocations: 27.91 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.793e-05/0.5057, allocations: 35.8 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.5059, allocations: 127.4 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.506, allocations: 0 / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.994e-06/0.506, allocations: 0 / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.506, allocations: 0 / 1.366 GB, free: 11.25 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007876/0.5067, allocations: 373.8 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.5068, allocations: 8.031 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002796/0.5071, allocations: 36.81 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004821/0.5076, allocations: 190.4 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.5076, allocations: 4.375 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.5076, allocations: 12.38 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/0.5079, allocations: 116.8 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.5079, allocations: 3.938 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.5079, allocations: 0 / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.5079, allocations: 4 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002758/0.5082, allocations: 75.86 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006539/0.5089, allocations: 440.7 kB / 1.367 GB, free: 9.902 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003531/0.5092, allocations: 107.8 kB / 1.367 GB, free: 9.77 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.5094, allocations: 54.59 kB / 1.367 GB, free: 9.707 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-05/0.5094, allocations: 4 kB / 1.367 GB, free: 9.703 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.5094, allocations: 34.56 kB / 1.368 GB, free: 9.66 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.5094, allocations: 7.938 kB / 1.368 GB, free: 9.652 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0005918/0.51, allocations: 157.5 kB / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.119e-05/0.5101, allocations: 106.8 kB / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.5103, allocations: 144.3 kB / 1.368 GB, free: 9.215 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.5103, allocations: 33.94 kB / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.827e-05/0.5104, allocations: 112.3 kB / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.5104, allocations: 27.78 kB / 1.368 GB, free: 9.031 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.415e-05/0.5105, allocations: 29.64 kB / 1.368 GB, free: 8.996 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.5106, allocations: 330.8 kB / 1.368 GB, free: 8.664 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.5108, allocations: 35.97 kB / 1.368 GB, free: 8.629 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000228/0.511, allocations: 162.2 kB / 1.369 GB, free: 8.434 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/0.5113, allocations: 98.75 kB / 1.369 GB, free: 8.328 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5113, allocations: 0 / 1.369 GB, free: 8.328 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003591/0.5116, allocations: 141.4 kB / 1.369 GB, free: 8.184 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.5116, allocations: 4 kB / 1.369 GB, free: 8.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.5117, allocations: 4 kB / 1.369 GB, free: 8.176 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.5117, allocations: 0 / 1.369 GB, free: 8.176 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.5118, allocations: 27.92 kB / 1.369 GB, free: 8.148 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/0.5118, allocations: 7.938 kB / 1.369 GB, free: 8.141 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.5119, allocations: 15.97 kB / 1.369 GB, free: 8.125 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.512, allocations: 4 kB / 1.369 GB, free: 8.121 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (hysteresis.y,$PRE.hysteresis.y,hysteresis1.y,$PRE.hysteresis1.y,hysteresis2.y,$PRE.hysteresis2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001241/0.5121, allocations: 128.6 kB / 1.369 GB, free: 7.988 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.301e-05/0.5121, allocations: 11.91 kB / 1.369 GB, free: 7.977 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002707/0.5124, allocations: 93.92 kB / 1.369 GB, free: 7.871 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.5124, allocations: 0 / 1.369 GB, free: 7.871 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5124, allocations: 0 / 1.369 GB, free: 7.871 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-06/0.5124, allocations: 4 kB / 1.369 GB, free: 7.867 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.5127, allocations: 137.3 kB / 1.369 GB, free: 7.703 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.5127, allocations: 0 / 1.369 GB, free: 7.703 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.5128, allocations: 23.97 kB / 1.369 GB, free: 7.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.5128, allocations: 4 kB / 1.369 GB, free: 7.676 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.5128, allocations: 0 / 1.369 GB, free: 7.676 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5128, allocations: 0 / 1.369 GB, free: 7.676 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.5128, allocations: 8 kB / 1.369 GB, free: 7.668 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004478/0.5133, allocations: 369.9 kB / 1.37 GB, free: 7.289 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.231e-05/0.5133, allocations: 15.84 kB / 1.37 GB, free: 7.273 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.5133, allocations: 7.938 kB / 1.37 GB, free: 7.266 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.5135, allocations: 15.98 kB / 1.37 GB, free: 7.25 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.158e-05/0.5136, allocations: 23.95 kB / 1.37 GB, free: 7.227 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.5136, allocations: 11.98 kB / 1.37 GB, free: 7.215 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.864e-05/0.5137, allocations: 107.1 kB / 1.37 GB, free: 7.113 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.5137, allocations: 0 / 1.37 GB, free: 7.113 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003127/0.514, allocations: 20 kB / 1.37 GB, free: 7.094 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: 3 (hysteresis.y,hysteresis1.y,hysteresis2.y) * Number of discrete states: 3 (hysteresis2.y,hysteresis1.y,hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001784/0.5142, allocations: 107.3 kB / 1.37 GB, free: 6.98 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004068/0.5146, allocations: 95.86 kB / 1.37 GB, free: 6.887 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5146, allocations: 0 / 1.37 GB, free: 6.887 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001951/0.5148, allocations: 47.91 kB / 1.37 GB, free: 6.84 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005874/0.5154, allocations: 17.3 kB / 1.37 GB, free: 6.824 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000523/0.5159, allocations: 204.6 kB / 1.37 GB, free: 6.59 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.516, allocations: 88.31 kB / 1.37 GB, free: 6.48 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.13e-05/0.5161, allocations: 17.06 kB / 1.37 GB, free: 6.465 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.174e-05/0.5162, allocations: 23.42 kB / 1.37 GB, free: 6.441 MB / 1.061 GB Notification: Performance of SimCode: time 2.7e-07/0.5162, allocations: 0 / 1.37 GB, free: 6.441 MB / 1.061 GB Notification: Performance of Templates: time 0.004972/0.5211, allocations: 1.476 MB / 1.372 GB, free: 4.992 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.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: 10.12698776088655]