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.001713/0.001713, allocations: 102 kB / 19.69 MB, free: 2.109 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.002429/0.002429, allocations: 212.6 kB / 23.01 MB, free: 4.945 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 8.07 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.311/3.311, allocations: 0.505 GB / 0.8108 GB, free: 22.05 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.002269/0.002269, allocations: 69.94 kB / 1.178 GB, free: 17.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3995, allocations: 180.2 MB / 1.354 GB, free: 8.109 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002252/0.4018, allocations: 0.8681 MB / 1.355 GB, free: 7.246 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.4033, allocations: 0.9249 MB / 1.356 GB, free: 6.309 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.145e-05/0.4034, allocations: 4 kB / 1.356 GB, free: 6.305 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.591e-05/0.4034, allocations: 7.875 kB / 1.356 GB, free: 6.297 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.4035, allocations: 15.75 kB / 1.356 GB, free: 6.281 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003083/0.4038, allocations: 43.94 kB / 1.356 GB, free: 6.238 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.404, allocations: 115.6 kB / 1.356 GB, free: 6.125 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.4042, allocations: 21.3 kB / 1.356 GB, free: 6.105 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001984/0.4044, allocations: 55.83 kB / 1.356 GB, free: 6.051 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.4045, allocations: 51.77 kB / 1.356 GB, free: 6 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.4045, allocations: 12 kB / 1.356 GB, free: 5.988 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.474e-05/0.4046, allocations: 27.92 kB / 1.356 GB, free: 5.961 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.914e-05/0.4046, allocations: 19.92 kB / 1.356 GB, free: 5.941 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.47e-05/0.4047, allocations: 55.66 kB / 1.356 GB, free: 5.887 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.4049, allocations: 131.4 kB / 1.356 GB, free: 5.758 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.4049, allocations: 0 / 1.356 GB, free: 5.758 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.323e-06/0.4049, allocations: 0 / 1.356 GB, free: 5.758 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.4049, allocations: 0 / 1.356 GB, free: 5.758 MB / 1.045 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.0007503/0.4057, allocations: 361.7 kB / 1.357 GB, free: 5.371 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.4057, allocations: 12.03 kB / 1.357 GB, free: 5.359 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002657/0.406, allocations: 36.81 kB / 1.357 GB, free: 5.324 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000481/0.4065, allocations: 195.6 kB / 1.357 GB, free: 5.109 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.4065, allocations: 4.375 kB / 1.357 GB, free: 5.105 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.4065, allocations: 8.375 kB / 1.357 GB, free: 5.098 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.4068, allocations: 116.4 kB / 1.357 GB, free: 4.973 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.4068, allocations: 3.938 kB / 1.357 GB, free: 4.969 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.4068, allocations: 4 kB / 1.357 GB, free: 4.965 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.433e-06/0.4068, allocations: 4 kB / 1.357 GB, free: 4.961 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002743/0.4071, allocations: 71.86 kB / 1.357 GB, free: 4.891 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006672/0.4078, allocations: 492 kB / 1.358 GB, free: 4.359 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.4081, allocations: 115.8 kB / 1.358 GB, free: 4.219 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.4082, allocations: 50.61 kB / 1.358 GB, free: 4.16 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.4082, allocations: 0 / 1.358 GB, free: 4.16 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.481e-05/0.4083, allocations: 38.56 kB / 1.358 GB, free: 4.113 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.4083, allocations: 0 / 1.358 GB, free: 4.113 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0005967/0.4089, allocations: 161.4 kB / 1.358 GB, free: 3.949 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.786e-05/0.409, allocations: 106.8 kB / 1.358 GB, free: 3.82 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.4091, allocations: 152.1 kB / 1.358 GB, free: 3.66 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/0.4091, allocations: 25.7 kB / 1.358 GB, free: 3.629 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.302e-05/0.4092, allocations: 116.2 kB / 1.358 GB, free: 3.508 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.809e-05/0.4093, allocations: 23.8 kB / 1.358 GB, free: 3.484 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.449e-05/0.4093, allocations: 25.7 kB / 1.358 GB, free: 3.453 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.4095, allocations: 322.8 kB / 1.359 GB, free: 3.129 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.4096, allocations: 43.91 kB / 1.359 GB, free: 3.086 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.4098, allocations: 85.3 kB / 1.359 GB, free: 2.984 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.4101, allocations: 98.48 kB / 1.359 GB, free: 2.879 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.4101, allocations: 4 kB / 1.359 GB, free: 2.875 MB / 1.045 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003562/0.4105, allocations: 137.5 kB / 1.359 GB, free: 2.734 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.4105, allocations: 8 kB / 1.359 GB, free: 2.727 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.4105, allocations: 0 / 1.359 GB, free: 2.727 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.4105, allocations: 0 / 1.359 GB, free: 2.727 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.4106, allocations: 19.98 kB / 1.359 GB, free: 2.707 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.4106, allocations: 4 kB / 1.359 GB, free: 2.703 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.4108, allocations: 23.91 kB / 1.359 GB, free: 2.68 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.4108, allocations: 4 kB / 1.359 GB, free: 2.676 MB / 1.045 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.0001221/0.4109, allocations: 129.7 kB / 1.359 GB, free: 2.539 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.598e-05/0.411, allocations: 7.953 kB / 1.359 GB, free: 2.531 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000272/0.4112, allocations: 89.98 kB / 1.359 GB, free: 2.434 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.4112, allocations: 3.938 kB / 1.359 GB, free: 2.43 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.4112, allocations: 0 / 1.359 GB, free: 2.43 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.4112, allocations: 4 kB / 1.359 GB, free: 2.426 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003286/0.4116, allocations: 180.6 kB / 1.36 GB, free: 2.207 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.4116, allocations: 3.938 kB / 1.36 GB, free: 2.203 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.4117, allocations: 15.98 kB / 1.36 GB, free: 2.188 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.738e-06/0.4117, allocations: 4 kB / 1.36 GB, free: 2.184 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.4117, allocations: 4 kB / 1.36 GB, free: 2.18 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.4117, allocations: 4.062 kB / 1.36 GB, free: 2.176 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4117, allocations: 7.984 kB / 1.36 GB, free: 2.168 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004673/0.4122, allocations: 369.9 kB / 1.36 GB, free: 1.789 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.301e-05/0.4122, allocations: 15.84 kB / 1.36 GB, free: 1.773 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.4122, allocations: 4 kB / 1.36 GB, free: 1.77 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.4124, allocations: 19.97 kB / 1.36 GB, free: 1.75 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.364e-05/0.4125, allocations: 23.95 kB / 1.36 GB, free: 1.727 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.4125, allocations: 4 kB / 1.36 GB, free: 1.723 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.475e-05/0.4126, allocations: 116.8 kB / 1.36 GB, free: 1.609 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4126, allocations: 0 / 1.36 GB, free: 1.609 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000316/0.4129, allocations: 16 kB / 1.36 GB, free: 1.594 MB / 1.045 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.0001507/0.4131, allocations: 99.25 kB / 1.36 GB, free: 1.488 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003785/0.4135, allocations: 96.09 kB / 1.36 GB, free: 1.395 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4135, allocations: 0 / 1.36 GB, free: 1.395 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.4136, allocations: 51.89 kB / 1.36 GB, free: 1.344 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.4141, allocations: 12.31 kB / 1.36 GB, free: 1.332 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005068/0.4146, allocations: 225.3 kB / 1.361 GB, free: 1.066 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.415, allocations: 0.704 MB / 1.361 GB, free: 344 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.401e-05/0.415, allocations: 27.41 kB / 1.361 GB, free: 320 kB / 1.045 GB Notification: Performance of SimCode: time 3.41e-07/0.415, allocations: 4 kB / 1.361 GB, free: 316 kB / 1.045 GB Notification: Performance of Templates: time 0.003584/0.4186, allocations: 1.513 MB / 1.363 GB, free: 14.8 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.49103307799669]