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.001564/0.001564, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001733/0.001733, allocations: 218.7 kB / 22.99 MB, free: 4.914 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.228/3.228, allocations: 0.5107 GB / 0.8166 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.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.00208/0.00208, allocations: 76.7 kB / 1.187 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3596, allocations: 181.9 MB / 1.365 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002163/0.3618, allocations: 0.8193 MB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.3631, allocations: 0.9249 MB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.943e-05/0.3632, allocations: 4 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.78e-05/0.3632, allocations: 7.875 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.3634, allocations: 15.8 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.3636, allocations: 43.89 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.3638, allocations: 115.7 kB / 1.367 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.3639, allocations: 17.3 kB / 1.367 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002215/0.3642, allocations: 63.77 kB / 1.367 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.3643, allocations: 47.77 kB / 1.367 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.986e-05/0.3643, allocations: 12 kB / 1.367 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.873e-05/0.3644, allocations: 16 kB / 1.367 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.157e-05/0.3644, allocations: 27.91 kB / 1.367 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.566e-05/0.3645, allocations: 39.78 kB / 1.367 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.3647, allocations: 127.4 kB / 1.367 GB, free: 11.29 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3647, allocations: 0 / 1.367 GB, free: 11.29 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3647, allocations: 0 / 1.367 GB, free: 11.29 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.3647, allocations: 0 / 1.367 GB, free: 11.29 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.0007159/0.3654, allocations: 369.8 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.3654, allocations: 12.02 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002587/0.3657, allocations: 32.83 kB / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004691/0.3662, allocations: 196.4 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.3662, allocations: 12.31 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.3662, allocations: 8.375 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/0.3665, allocations: 112.8 kB / 1.368 GB, free: 10.49 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.3665, allocations: 3.938 kB / 1.368 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.3665, allocations: 0 / 1.368 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3665, allocations: 4 kB / 1.368 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002807/0.3668, allocations: 75.86 kB / 1.368 GB, free: 10.41 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005767/0.3674, allocations: 440.7 kB / 1.368 GB, free: 9.938 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.3676, allocations: 111.8 kB / 1.368 GB, free: 9.801 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.3678, allocations: 50.61 kB / 1.368 GB, free: 9.742 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.3678, allocations: 4 kB / 1.368 GB, free: 9.738 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.3679, allocations: 42.55 kB / 1.368 GB, free: 9.688 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.3679, allocations: 4 kB / 1.368 GB, free: 9.684 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0005912/0.3684, allocations: 157.4 kB / 1.368 GB, free: 9.523 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.395e-05/0.3685, allocations: 106.8 kB / 1.369 GB, free: 9.395 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.3687, allocations: 147.1 kB / 1.369 GB, free: 9.242 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.3687, allocations: 33.95 kB / 1.369 GB, free: 9.203 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.764e-05/0.3688, allocations: 112.2 kB / 1.369 GB, free: 9.086 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.3688, allocations: 27.78 kB / 1.369 GB, free: 9.059 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-05/0.3688, allocations: 21.72 kB / 1.369 GB, free: 9.031 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.369, allocations: 330.8 kB / 1.369 GB, free: 8.699 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.3691, allocations: 39.95 kB / 1.369 GB, free: 8.66 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.3694, allocations: 158.2 kB / 1.369 GB, free: 8.469 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/0.3696, allocations: 102.5 kB / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3696, allocations: 0 / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003615/0.37, allocations: 141.7 kB / 1.37 GB, free: 8.215 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.37, allocations: 4 kB / 1.37 GB, free: 8.211 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.37, allocations: 4 kB / 1.37 GB, free: 8.207 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.37, allocations: 0 / 1.37 GB, free: 8.207 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.3702, allocations: 27.91 kB / 1.37 GB, free: 8.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.3702, allocations: 4 kB / 1.37 GB, free: 8.176 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.3703, allocations: 11.98 kB / 1.37 GB, free: 8.164 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.3703, allocations: 4 kB / 1.37 GB, free: 8.16 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.0001059/0.3704, allocations: 126.9 kB / 1.37 GB, free: 8.027 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.544e-05/0.3705, allocations: 11.91 kB / 1.37 GB, free: 8.016 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.3708, allocations: 97.92 kB / 1.37 GB, free: 7.906 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.3708, allocations: 0 / 1.37 GB, free: 7.906 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.3708, allocations: 3.984 kB / 1.37 GB, free: 7.902 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3708, allocations: 4 kB / 1.37 GB, free: 7.898 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.371, allocations: 137.3 kB / 1.37 GB, free: 7.734 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.371, allocations: 0 / 1.37 GB, free: 7.734 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.3711, allocations: 15.98 kB / 1.37 GB, free: 7.719 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.3712, allocations: 11.88 kB / 1.37 GB, free: 7.707 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.3712, allocations: 3.984 kB / 1.37 GB, free: 7.703 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3712, allocations: 4 kB / 1.37 GB, free: 7.699 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3712, allocations: 4 kB / 1.37 GB, free: 7.695 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004396/0.3716, allocations: 365.9 kB / 1.37 GB, free: 7.32 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.897e-05/0.3716, allocations: 15.84 kB / 1.37 GB, free: 7.305 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.3717, allocations: 8 kB / 1.37 GB, free: 7.297 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.3719, allocations: 15.97 kB / 1.37 GB, free: 7.281 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.775e-05/0.3719, allocations: 27.95 kB / 1.37 GB, free: 7.254 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.986e-06/0.3719, allocations: 4 kB / 1.37 GB, free: 7.25 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.744e-05/0.372, allocations: 108.7 kB / 1.371 GB, free: 7.145 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.372, allocations: 0 / 1.371 GB, free: 7.145 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003268/0.3723, allocations: 20 kB / 1.371 GB, free: 7.125 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.0001271/0.3725, allocations: 103.3 kB / 1.371 GB, free: 7.016 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003729/0.3728, allocations: 95.86 kB / 1.371 GB, free: 6.922 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3728, allocations: 0 / 1.371 GB, free: 6.922 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.373, allocations: 51.89 kB / 1.371 GB, free: 6.871 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000448/0.3735, allocations: 15.94 kB / 1.371 GB, free: 6.855 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004438/0.3739, allocations: 234.2 kB / 1.371 GB, free: 6.586 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.469e-05/0.374, allocations: 84.33 kB / 1.371 GB, free: 6.48 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.802e-05/0.3741, allocations: 19.42 kB / 1.371 GB, free: 6.461 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.3741, allocations: 0 / 1.371 GB, free: 6.461 MB / 1.061 GB Notification: Performance of Templates: time 0.003295/0.3774, allocations: 1.557 MB / 1.373 GB, free: 4.906 MB / 1.061 GB " [Timeout remaining time 300] 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/jenkins1/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: 11.088107649702579]