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.001131/0.001131, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001635/0.002767, allocations: 449.7 kB / 10.37 MB, free: 328 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.001034/0.001034, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00102/0.002054, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 1.026/1.026, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1118/1.137, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.837/1.837, allocations: 378.2 MB / 0.6076 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5254/2.362, allocations: 123.3 MB / 0.728 GB, free: 5.824 MB / 0.698 GB " [Timeout remaining time 178] 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 2.415e-06/2.415e-06, allocations: 0 / 0.7294 GB, free: 4.465 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.574e-05, allocations: 2.312 kB / 0.7294 GB, free: 4.461 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.00163/0.001656, allocations: 0.8837 MB / 0.7303 GB, free: 3.605 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009231/0.002579, allocations: 0.9419 MB / 0.7312 GB, free: 2.652 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.642e-05/0.002625, allocations: 1.406 kB / 0.7312 GB, free: 2.652 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.516e-05/0.002661, allocations: 11.86 kB / 0.7312 GB, free: 2.641 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.095e-05/0.002732, allocations: 23.98 kB / 0.7312 GB, free: 2.625 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001331/0.002865, allocations: 52.38 kB / 0.7313 GB, free: 2.574 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.002994, allocations: 116.5 kB / 0.7314 GB, free: 2.473 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.681e-05/0.003091, allocations: 22.48 kB / 0.7314 GB, free: 2.449 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000209/0.0033, allocations: 92.67 kB / 0.7315 GB, free: 2.359 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.348e-05/0.003383, allocations: 40.33 kB / 0.7315 GB, free: 2.32 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.003401, allocations: 4 kB / 0.7315 GB, free: 2.316 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.817e-05/0.00347, allocations: 8.875 kB / 0.7315 GB, free: 2.309 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.9e-05/0.003489, allocations: 11.94 kB / 0.7315 GB, free: 2.297 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.561e-05/0.003514, allocations: 21.38 kB / 0.7316 GB, free: 2.277 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.003665, allocations: 59.7 kB / 0.7316 GB, free: 2.219 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.057e-05/0.003686, allocations: 0 / 0.7316 GB, free: 2.219 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.353e-06/0.003687, allocations: 3.938 kB / 0.7316 GB, free: 2.215 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.131e-05/0.003708, allocations: 0.6562 kB / 0.7316 GB, free: 2.215 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.0004548/0.004163, allocations: 324.8 kB / 0.7319 GB, free: 1.871 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.004198, allocations: 8.031 kB / 0.7319 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001825/0.004381, allocations: 107.7 kB / 0.732 GB, free: 1.742 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.004536, allocations: 153.5 kB / 0.7322 GB, free: 1.566 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.004554, allocations: 4.375 kB / 0.7322 GB, free: 1.562 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.004566, allocations: 8.375 kB / 0.7322 GB, free: 1.555 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.00471, allocations: 98.44 kB / 0.7323 GB, free: 1.441 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.004719, allocations: 4.125 kB / 0.7323 GB, free: 1.438 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.004727, allocations: 5.547 kB / 0.7323 GB, free: 1.434 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.004732, allocations: 384 / 0.7323 GB, free: 1.434 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.042e-05/0.004773, allocations: 23.91 kB / 0.7323 GB, free: 1.41 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.005075, allocations: 357.9 kB / 0.7327 GB, free: 1.039 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.238e-05/0.005167, allocations: 76.59 kB / 0.7327 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.389e-05/0.005191, allocations: 22.64 kB / 0.7328 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.005213, allocations: 4.562 kB / 0.7328 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.005238, allocations: 44.28 kB / 0.7328 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.005239, allocations: 0 / 0.7328 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0001535/0.005393, allocations: 70.67 kB / 0.7329 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.005439, allocations: 102.8 kB / 0.733 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.019e-05/0.005529, allocations: 157.9 kB / 0.7331 GB, free: 500 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.005547, allocations: 26.67 kB / 0.7332 GB, free: 468 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.89e-05/0.005586, allocations: 100.1 kB / 0.7333 GB, free: 364 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.005614, allocations: 27.77 kB / 0.7333 GB, free: 336 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.005647, allocations: 26.67 kB / 0.7333 GB, free: 304 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.005751, allocations: 322.8 kB / 0.7336 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.523e-05/0.005776, allocations: 12.48 kB / 0.7336 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.525e-05/0.005811, allocations: 43.12 kB / 0.7337 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.364e-05/0.005865, allocations: 46.55 kB / 0.7337 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.005867, allocations: 1.031 kB / 0.7337 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.452e-05/0.005952, allocations: 69.61 kB / 0.7338 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.005967, allocations: 12.61 kB / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.005973, allocations: 1.781 kB / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.005985, allocations: 4.281 kB / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.849e-05/0.006063, allocations: 11.94 kB / 0.7338 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.387e-06/0.006067, allocations: 0 / 0.7338 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.389e-05/0.0061, allocations: 11.94 kB / 0.7338 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.006108, allocations: 5.219 kB / 0.7338 GB, free: 15.74 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 7.43e-05/0.006182, allocations: 121.8 kB / 0.7339 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.174e-05/0.006214, allocations: 6.062 kB / 0.7339 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004078/0.006622, allocations: 69.89 kB / 0.734 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.006623, allocations: 0 / 0.734 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.006626, allocations: 4 kB / 0.734 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.00663, allocations: 3.984 kB / 0.734 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.006777, allocations: 86.61 kB / 0.7341 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.006779, allocations: 0 / 0.7341 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.022e-05/0.006819, allocations: 8.844 kB / 0.7341 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.077e-05/0.006829, allocations: 15.89 kB / 0.7341 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.006831, allocations: 4.656 kB / 0.7341 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.006838, allocations: 3.938 kB / 0.7341 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.00684, allocations: 1.844 kB / 0.7341 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.00684, allocations: 4 kB / 0.7341 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.006983, allocations: 310 kB / 0.7344 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.006999, allocations: 0 / 0.7344 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.736e-05/0.007076, allocations: 13.17 kB / 0.7344 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.425e-05/0.00713, allocations: 27.89 kB / 0.7345 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.007135, allocations: 4.062 kB / 0.7345 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.559e-05/0.007161, allocations: 31.39 kB / 0.7345 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.007161, allocations: 0.875 kB / 0.7345 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001636/0.007324, allocations: 16 kB / 0.7345 GB, free: 14.97 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 0.0001131/0.007437, allocations: 96.81 kB / 0.7346 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.211e-05/0.007529, allocations: 36.78 kB / 0.7347 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/0.007537, allocations: 4 kB / 0.7347 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.249e-05/0.00757, allocations: 35.52 kB / 0.7347 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.007816, allocations: 27.05 kB / 0.7347 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002967/0.008113, allocations: 206.5 kB / 0.7349 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.227e-05/0.008155, allocations: 63.34 kB / 0.735 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.003e-05/0.008205, allocations: 17.92 kB / 0.735 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.019e-05/0.008265, allocations: 67.36 kB / 0.7351 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of SimCode: time 6.91e-07/0.008266, allocations: 2.438 kB / 0.7351 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of Templates: time 0.00291/0.01118, allocations: 1.237 MB / 0.7363 GB, free: 13.19 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.040362363681197]