Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 194.8 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.775/2.775, allocations: 476.7 MB / 0.7645 GB, free: 10.06 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 63.91 kB / 1.109 GB, free: 6.473 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8597/0.8618, allocations: 168.7 MB / 1.274 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002218/0.864, allocations: 0.8432 MB / 1.275 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.8652, allocations: 0.8935 MB / 1.276 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.796e-05/0.8653, allocations: 4 kB / 1.276 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.046e-05/0.8653, allocations: 7.875 kB / 1.276 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.8654, allocations: 19.75 kB / 1.276 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.8656, allocations: 35.94 kB / 1.276 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.8658, allocations: 111.7 kB / 1.276 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.8659, allocations: 25.09 kB / 1.276 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.8661, allocations: 51.78 kB / 1.276 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.8662, allocations: 55.73 kB / 1.276 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.315e-05/0.8662, allocations: 16 kB / 1.276 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.918e-05/0.8662, allocations: 8 kB / 1.276 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.117e-05/0.8663, allocations: 23.92 kB / 1.276 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.899e-05/0.8663, allocations: 47.73 kB / 1.276 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.8665, allocations: 130.1 kB / 1.276 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.8665, allocations: 0 / 1.276 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8665, allocations: 3.938 kB / 1.276 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.8665, allocations: 0 / 1.276 GB, free: 2.234 MB / 0.9669 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.0008448/0.8674, allocations: 438.9 kB / 1.277 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.8674, allocations: 8.031 kB / 1.277 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.322e-05/0.8675, allocations: 20.84 kB / 1.277 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005948/0.8681, allocations: 256.2 kB / 1.277 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.8681, allocations: 8.375 kB / 1.277 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.8681, allocations: 12.38 kB / 1.277 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/0.8684, allocations: 119.7 kB / 1.277 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.8684, allocations: 7.875 kB / 1.277 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.8684, allocations: 4 kB / 1.277 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.8685, allocations: 4 kB / 1.277 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003043/0.8688, allocations: 67.94 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006684/0.8694, allocations: 0.4971 MB / 1.278 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.8697, allocations: 115.8 kB / 1.278 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.8699, allocations: 54.59 kB / 1.278 GB, free: 460 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.8699, allocations: 4 kB / 1.278 GB, free: 456 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.8699, allocations: 38.5 kB / 1.278 GB, free: 408 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.8699, allocations: 0 / 1.278 GB, free: 408 kB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0006219/0.8706, allocations: 161.7 kB / 1.278 GB, free: 240 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.8706, allocations: 106.8 kB / 1.278 GB, free: 108 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.8708, allocations: 140.9 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.8708, allocations: 33.7 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.149e-05/0.8709, allocations: 108.2 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.8709, allocations: 23.84 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.728e-05/0.871, allocations: 29.7 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.8711, allocations: 334.8 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.8713, allocations: 39.91 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.8715, allocations: 81.11 kB / 1.279 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/0.8718, allocations: 90.52 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.8718, allocations: 3.938 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004044/0.8722, allocations: 141.5 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.8722, allocations: 7.984 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.8722, allocations: 0 / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.8723, allocations: 8 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.8724, allocations: 15.98 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.8724, allocations: 0 / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.8726, allocations: 23.92 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.8726, allocations: 3.984 kB / 1.279 GB, free: 14.97 MB / 0.9825 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.0001156/0.8727, allocations: 121.8 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.255e-05/0.8728, allocations: 19.91 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002714/0.873, allocations: 89.83 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.873, allocations: 384 / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.873, allocations: 4 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.873, allocations: 0 / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003292/0.8734, allocations: 205.7 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.8734, allocations: 0 / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.8735, allocations: 19.97 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.8735, allocations: 11.98 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.8735, allocations: 4 kB / 1.28 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.8735, allocations: 3.938 kB / 1.28 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.8735, allocations: 11.92 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004754/0.874, allocations: 369.9 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.432e-05/0.874, allocations: 89.02 kB / 1.28 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.8741, allocations: 0 / 1.28 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.8743, allocations: 11.98 kB / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.299e-05/0.8744, allocations: 27.95 kB / 1.28 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.8744, allocations: 7.938 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.432e-05/0.8745, allocations: 115.2 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8745, allocations: 4 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003168/0.8748, allocations: 19.94 kB / 1.28 GB, free: 13.76 MB / 0.9825 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.0001666/0.8749, allocations: 107.7 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004218/0.8754, allocations: 95.86 kB / 1.28 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8754, allocations: 0 / 1.28 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.8755, allocations: 55.89 kB / 1.281 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004452/0.876, allocations: 8 kB / 1.281 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004819/0.8765, allocations: 224.8 kB / 1.281 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.8768, allocations: 0.7003 MB / 1.281 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.738e-05/0.8769, allocations: 16.64 kB / 1.281 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.42e-05/0.877, allocations: 23.42 kB / 1.281 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.877, allocations: 0 / 1.281 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of Templates: time 0.004428/0.8814, allocations: 1.379 MB / 1.283 GB, free: 11.09 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.81831578630954]