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.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.001201/0.001201, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001514/0.001514, allocations: 214.5 kB / 23.01 MB, free: 4.566 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.767/2.767, allocations: 476.8 MB / 0.7714 GB, free: 4.254 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002057/0.002057, allocations: 67.78 kB / 1.119 GB, free: 39.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3854, allocations: 170 MB / 1.285 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002156/0.3875, allocations: 0.8521 MB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.3887, allocations: 0.925 MB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.9e-05/0.3887, allocations: 0 / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.755e-05/0.3888, allocations: 7.875 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.3889, allocations: 23.8 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.3891, allocations: 43.88 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.3893, allocations: 119.7 kB / 1.287 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.3894, allocations: 21.25 kB / 1.287 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.3896, allocations: 59.7 kB / 1.287 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.3897, allocations: 59.75 kB / 1.287 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.543e-05/0.3897, allocations: 11.98 kB / 1.287 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.971e-05/0.3898, allocations: 12 kB / 1.287 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.776e-05/0.3898, allocations: 23.92 kB / 1.287 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.677e-05/0.3898, allocations: 47.73 kB / 1.287 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.39, allocations: 127.4 kB / 1.287 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.39, allocations: 0 / 1.287 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.235e-06/0.3901, allocations: 4 kB / 1.287 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.3901, allocations: 0 / 1.287 GB, free: 8.621 MB / 0.9825 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.0007003/0.3908, allocations: 373.6 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.3908, allocations: 8.031 kB / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002603/0.3911, allocations: 36.86 kB / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004564/0.3915, allocations: 186.5 kB / 1.288 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.3915, allocations: 8.375 kB / 1.288 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.3916, allocations: 4.375 kB / 1.288 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002808/0.3918, allocations: 127.9 kB / 1.288 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3918, allocations: 7.938 kB / 1.288 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.3919, allocations: 4 kB / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3919, allocations: 0 / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002804/0.3921, allocations: 83.83 kB / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006351/0.3928, allocations: 476.1 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.393, allocations: 111.8 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.3932, allocations: 56.36 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.3932, allocations: 3.938 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.3932, allocations: 34.56 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.3932, allocations: 0 / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005677/0.3938, allocations: 165.4 kB / 1.289 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.038e-05/0.3939, allocations: 106.8 kB / 1.289 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.394, allocations: 141.1 kB / 1.289 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.394, allocations: 41.89 kB / 1.289 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.064e-05/0.3941, allocations: 104.3 kB / 1.289 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.3942, allocations: 27.78 kB / 1.289 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.503e-05/0.3942, allocations: 33.7 kB / 1.289 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3944, allocations: 322.8 kB / 1.289 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.3945, allocations: 43.95 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.3947, allocations: 85.11 kB / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002656/0.3949, allocations: 86.45 kB / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3949, allocations: 0 / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003449/0.3953, allocations: 145.5 kB / 1.29 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.3953, allocations: 4 kB / 1.29 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.3953, allocations: 0 / 1.29 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.3953, allocations: 4 kB / 1.29 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.3955, allocations: 19.97 kB / 1.29 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.3955, allocations: 0 / 1.29 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.3956, allocations: 27.94 kB / 1.29 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.3956, allocations: 4 kB / 1.29 GB, free: 5.535 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.0001058/0.3957, allocations: 125.7 kB / 1.29 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.544e-05/0.3958, allocations: 11.95 kB / 1.29 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002679/0.396, allocations: 86.31 kB / 1.29 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.3961, allocations: 4 kB / 1.29 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3961, allocations: 4.047 kB / 1.29 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3961, allocations: 3.984 kB / 1.29 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000305/0.3964, allocations: 184.7 kB / 1.29 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3964, allocations: 0 / 1.29 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.3965, allocations: 23.97 kB / 1.29 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3965, allocations: 0 / 1.29 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.3965, allocations: 7.938 kB / 1.29 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.3965, allocations: 7.938 kB / 1.29 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3965, allocations: 0 / 1.29 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004458/0.3969, allocations: 365.9 kB / 1.29 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.765e-05/0.397, allocations: 11.94 kB / 1.29 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.397, allocations: 4 kB / 1.29 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.3972, allocations: 15.98 kB / 1.291 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.014e-05/0.3973, allocations: 27.95 kB / 1.291 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.3973, allocations: 3.984 kB / 1.291 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.09e-05/0.3974, allocations: 115.1 kB / 1.291 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3974, allocations: 0 / 1.291 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003165/0.3977, allocations: 23.95 kB / 1.291 GB, free: 4.449 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.0001366/0.3978, allocations: 99.23 kB / 1.291 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003703/0.3982, allocations: 103.9 kB / 1.291 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3982, allocations: 0 / 1.291 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.3983, allocations: 47.91 kB / 1.291 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.3988, allocations: 8 kB / 1.291 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004491/0.3992, allocations: 229.4 kB / 1.291 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.3996, allocations: 0.704 MB / 1.292 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.779e-05/0.3996, allocations: 23.44 kB / 1.292 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3996, allocations: 0 / 1.292 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of Templates: time 0.003359/0.403, allocations: 1.508 MB / 1.293 GB, free: 1.656 MB / 0.9825 GB " [Timeout remaining time 300] 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 -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/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: 10.933373015985126]