Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007727/0.0007727, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001182/0.001954, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001715/0.001715, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001937/0.003652, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.968/0.968, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.094/1.062, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.984/1.984, allocations: 378.4 MB / 0.6079 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.528/2.512, allocations: 123.3 MB / 0.7283 GB, free: 5.754 MB / 0.698 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.7297 GB, free: 4.371 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.354e-05/2.508e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.367 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001673/0.001698, allocations: 0.8932 MB / 0.7306 GB, free: 3.512 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008376/0.002536, allocations: 0.9467 MB / 0.7315 GB, free: 2.555 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.234e-05/0.002578, allocations: 6.219 kB / 0.7315 GB, free: 2.551 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.01e-05/0.002608, allocations: 11.86 kB / 0.7315 GB, free: 2.539 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.968e-05/0.002668, allocations: 19.47 kB / 0.7315 GB, free: 2.527 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.002952, allocations: 44.53 kB / 0.7316 GB, free: 2.484 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.003082, allocations: 121.2 kB / 0.7317 GB, free: 2.383 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.38e-05/0.003175, allocations: 21.89 kB / 0.7317 GB, free: 2.359 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.003369, allocations: 95.73 kB / 0.7318 GB, free: 2.266 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.643e-05/0.003445, allocations: 31.89 kB / 0.7318 GB, free: 2.234 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.003464, allocations: 8.5 kB / 0.7318 GB, free: 2.227 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.608e-05/0.00352, allocations: 12 kB / 0.7319 GB, free: 2.215 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.021e-05/0.00354, allocations: 13.34 kB / 0.7319 GB, free: 2.203 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.003563, allocations: 15.94 kB / 0.7319 GB, free: 2.188 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.003695, allocations: 67.58 kB / 0.732 GB, free: 2.121 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.355e-05/0.003709, allocations: 5.703 kB / 0.732 GB, free: 2.117 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.52e-07/0.003709, allocations: 0 / 0.732 GB, free: 2.117 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.447e-05/0.003724, allocations: 0 / 0.732 GB, free: 2.117 MB / 0.698 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.0004416/0.004165, allocations: 316.1 kB / 0.7323 GB, free: 1.781 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.004206, allocations: 8.844 kB / 0.7323 GB, free: 1.773 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002/0.004406, allocations: 110 kB / 0.7324 GB, free: 1.648 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.004564, allocations: 155 kB / 0.7325 GB, free: 1.473 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.004581, allocations: 5.5 kB / 0.7325 GB, free: 1.469 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.004596, allocations: 8.359 kB / 0.7325 GB, free: 1.461 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.004734, allocations: 101.5 kB / 0.7326 GB, free: 1.344 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.004742, allocations: 0.9062 kB / 0.7326 GB, free: 1.344 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.00475, allocations: 4.359 kB / 0.7326 GB, free: 1.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.004757, allocations: 4.906 kB / 0.7326 GB, free: 1.336 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.43e-05/0.004791, allocations: 24.8 kB / 0.7327 GB, free: 1.312 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000283/0.005074, allocations: 353.4 kB / 0.733 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.138e-05/0.005165, allocations: 81.16 kB / 0.7331 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.336e-05/0.005189, allocations: 22.64 kB / 0.7331 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.005206, allocations: 0 / 0.7331 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.005228, allocations: 39.22 kB / 0.7331 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.005229, allocations: 0 / 0.7331 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0001564/0.005385, allocations: 75.8 kB / 0.7332 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.005429, allocations: 110.8 kB / 0.7333 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.797e-05/0.005507, allocations: 150.7 kB / 0.7335 GB, free: 404 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.005525, allocations: 29.7 kB / 0.7335 GB, free: 368 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.554e-05/0.00556, allocations: 96.73 kB / 0.7336 GB, free: 268 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.005584, allocations: 28.92 kB / 0.7336 GB, free: 240 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.005616, allocations: 29.69 kB / 0.7336 GB, free: 204 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.246e-05/0.005699, allocations: 322.8 kB / 0.7339 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.745e-05/0.005716, allocations: 12.81 kB / 0.734 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.859e-05/0.005745, allocations: 38.5 kB / 0.734 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.657e-05/0.005792, allocations: 47.11 kB / 0.734 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.005794, allocations: 0.6875 kB / 0.734 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 7.643e-05/0.00587, allocations: 79.56 kB / 0.7341 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.005885, allocations: 15.06 kB / 0.7341 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.005889, allocations: 0 / 0.7341 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.005902, allocations: 0 / 0.7341 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.439e-05/0.005966, allocations: 12 kB / 0.7341 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.00597, allocations: 8.516 kB / 0.7341 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.074e-05/0.006001, allocations: 8.953 kB / 0.7342 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.006006, allocations: 0 / 0.7342 GB, free: 15.64 MB / 0.7136 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 6.003e-05/0.006066, allocations: 118.3 kB / 0.7343 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.006102, allocations: 12.61 kB / 0.7343 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.385e-05/0.006186, allocations: 59.06 kB / 0.7343 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.006188, allocations: 3.938 kB / 0.7343 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.00619, allocations: 3.984 kB / 0.7343 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.006193, allocations: 0.875 kB / 0.7343 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.006333, allocations: 89.86 kB / 0.7344 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.006335, allocations: 4 kB / 0.7344 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.243e-05/0.006368, allocations: 13.23 kB / 0.7344 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.999e-06/0.006378, allocations: 11.91 kB / 0.7345 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.006379, allocations: 0 / 0.7345 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.006387, allocations: 8.969 kB / 0.7345 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.006388, allocations: 0 / 0.7345 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.006389, allocations: 0 / 0.7345 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.006511, allocations: 312.4 kB / 0.7348 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.006527, allocations: 4 kB / 0.7348 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.253e-05/0.0066, allocations: 7.984 kB / 0.7348 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.196e-05/0.006652, allocations: 27.89 kB / 0.7348 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.006656, allocations: 7.938 kB / 0.7348 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.527e-05/0.006681, allocations: 34.03 kB / 0.7348 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006681, allocations: 0 / 0.7348 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000164/0.006845, allocations: 16 kB / 0.7349 GB, free: 14.87 MB / 0.7136 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 7.833e-05/0.006924, allocations: 85.8 kB / 0.7349 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003802/0.007304, allocations: 41.53 kB / 0.735 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.007309, allocations: 4 kB / 0.735 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.801e-05/0.007347, allocations: 33.88 kB / 0.735 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.0076, allocations: 58.7 kB / 0.7351 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002571/0.007857, allocations: 215.5 kB / 0.7353 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.598e-05/0.007903, allocations: 64.28 kB / 0.7353 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.814e-05/0.007951, allocations: 19.56 kB / 0.7354 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.735e-05/0.008019, allocations: 67.36 kB / 0.7354 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of SimCode: time 8.91e-07/0.00802, allocations: 0 / 0.7354 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of Templates: time 0.002802/0.01082, allocations: 1.249 MB / 0.7366 GB, free: 13.03 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.995476212352514]