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.001323/0.001323, allocations: 110.4 kB / 18.94 MB, free: 2.953 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.001805/0.001805, allocations: 214.3 kB / 22.25 MB, free: 5.129 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.539/1.539, allocations: 230.6 MB / 256 MB, free: 8.004 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.322/3.322, allocations: 0.505 GB / 0.8101 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) [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.00201/0.00201, allocations: 69.23 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3642, allocations: 180.2 MB / 1.353 GB, free: 8.395 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002161/0.3663, allocations: 0.8621 MB / 1.354 GB, free: 7.535 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.3676, allocations: 0.9249 MB / 1.355 GB, free: 6.598 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.1e-05/0.3677, allocations: 3.938 kB / 1.355 GB, free: 6.594 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.776e-05/0.3677, allocations: 7.875 kB / 1.355 GB, free: 6.586 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.959e-05/0.3678, allocations: 19.8 kB / 1.355 GB, free: 6.566 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.368, allocations: 47.88 kB / 1.355 GB, free: 6.52 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.3682, allocations: 115.7 kB / 1.355 GB, free: 6.406 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.3683, allocations: 17.3 kB / 1.355 GB, free: 6.391 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.3685, allocations: 63.77 kB / 1.355 GB, free: 6.328 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.3686, allocations: 51.77 kB / 1.355 GB, free: 6.277 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.3686, allocations: 12 kB / 1.355 GB, free: 6.266 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.106e-05/0.3687, allocations: 16 kB / 1.355 GB, free: 6.25 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.996e-05/0.3687, allocations: 27.89 kB / 1.355 GB, free: 6.223 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.666e-05/0.3688, allocations: 51.67 kB / 1.355 GB, free: 6.172 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.369, allocations: 119.7 kB / 1.355 GB, free: 6.055 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.369, allocations: 4 kB / 1.355 GB, free: 6.051 MB / 1.045 GB Notification: Performance of FrontEnd: time 8.82e-07/0.369, allocations: 4 kB / 1.355 GB, free: 6.047 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.369, allocations: 0 / 1.355 GB, free: 6.047 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.0006706/0.3697, allocations: 369.7 kB / 1.356 GB, free: 5.652 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.3697, allocations: 12.03 kB / 1.356 GB, free: 5.641 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.833e-05/0.3698, allocations: 38.69 kB / 1.356 GB, free: 5.594 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002442/0.37, allocations: 40.81 kB / 1.356 GB, free: 5.555 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004618/0.3705, allocations: 186.5 kB / 1.356 GB, free: 5.348 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.3705, allocations: 4.375 kB / 1.356 GB, free: 5.344 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.3705, allocations: 8.375 kB / 1.356 GB, free: 5.336 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/0.3708, allocations: 124.4 kB / 1.356 GB, free: 5.199 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3708, allocations: 4 kB / 1.356 GB, free: 5.195 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.3708, allocations: 0 / 1.356 GB, free: 5.195 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.3708, allocations: 4 kB / 1.356 GB, free: 5.191 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00027/0.3711, allocations: 79.86 kB / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006549/0.3718, allocations: 472.1 kB / 1.356 GB, free: 4.602 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.372, allocations: 123.8 kB / 1.357 GB, free: 4.453 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.3722, allocations: 50.59 kB / 1.357 GB, free: 4.395 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.3722, allocations: 0 / 1.357 GB, free: 4.395 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.3722, allocations: 46.5 kB / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.3723, allocations: 0 / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.000615/0.3729, allocations: 157.5 kB / 1.357 GB, free: 4.18 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.11e-05/0.3729, allocations: 102.8 kB / 1.357 GB, free: 4.055 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.3731, allocations: 148.5 kB / 1.357 GB, free: 3.898 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.3731, allocations: 33.7 kB / 1.357 GB, free: 3.859 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.122e-05/0.3732, allocations: 108.2 kB / 1.357 GB, free: 3.746 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.3732, allocations: 27.78 kB / 1.357 GB, free: 3.719 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.578e-05/0.3733, allocations: 29.7 kB / 1.357 GB, free: 3.684 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3734, allocations: 326.8 kB / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.3736, allocations: 43.91 kB / 1.358 GB, free: 3.312 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.3738, allocations: 89.05 kB / 1.358 GB, free: 3.207 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.374, allocations: 82.52 kB / 1.358 GB, free: 3.117 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.374, allocations: 4 kB / 1.358 GB, free: 3.113 MB / 1.045 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003541/0.3744, allocations: 141.5 kB / 1.358 GB, free: 2.969 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3744, allocations: 7.984 kB / 1.358 GB, free: 2.961 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3744, allocations: 0 / 1.358 GB, free: 2.961 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3744, allocations: 7.938 kB / 1.358 GB, free: 2.953 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.3746, allocations: 15.98 kB / 1.358 GB, free: 2.938 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.453e-06/0.3746, allocations: 0 / 1.358 GB, free: 2.938 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.3747, allocations: 19.98 kB / 1.358 GB, free: 2.918 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.3747, allocations: 7.984 kB / 1.358 GB, free: 2.91 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.0001186/0.3748, allocations: 125.7 kB / 1.358 GB, free: 2.777 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.336e-05/0.3749, allocations: 7.953 kB / 1.358 GB, free: 2.77 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002614/0.3751, allocations: 97.86 kB / 1.358 GB, free: 2.664 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.3751, allocations: 8 kB / 1.358 GB, free: 2.656 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3752, allocations: 0 / 1.358 GB, free: 2.656 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3752, allocations: 384 / 1.358 GB, free: 2.656 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003221/0.3755, allocations: 176.7 kB / 1.358 GB, free: 2.441 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3755, allocations: 0 / 1.358 GB, free: 2.441 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.3756, allocations: 23.97 kB / 1.358 GB, free: 2.418 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3756, allocations: 64 / 1.358 GB, free: 2.418 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.3756, allocations: 4 kB / 1.358 GB, free: 2.414 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-05/0.3756, allocations: 4 kB / 1.358 GB, free: 2.41 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3756, allocations: 3.938 kB / 1.358 GB, free: 2.406 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004613/0.3761, allocations: 377.9 kB / 1.359 GB, free: 2.02 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.208e-05/0.3761, allocations: 15.84 kB / 1.359 GB, free: 2.004 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.3761, allocations: 8 kB / 1.359 GB, free: 1.996 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.3763, allocations: 15.98 kB / 1.359 GB, free: 1.98 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.327e-05/0.3764, allocations: 23.95 kB / 1.359 GB, free: 1.957 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.3764, allocations: 7.922 kB / 1.359 GB, free: 1.949 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.695e-05/0.3765, allocations: 113.1 kB / 1.359 GB, free: 1.84 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3765, allocations: 0 / 1.359 GB, free: 1.84 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000324/0.3768, allocations: 16 kB / 1.359 GB, free: 1.824 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.0008465/0.3777, allocations: 0.8945 MB / 1.36 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003623/0.378, allocations: 99.86 kB / 1.36 GB, free: 0.8047 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.378, allocations: 0 / 1.36 GB, free: 0.8047 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.3782, allocations: 51.89 kB / 1.36 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005108/0.3787, allocations: 21.59 kB / 1.36 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002571/0.3813, allocations: 1.805 MB / 1.362 GB, free: 14.82 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.3817, allocations: 0.7002 MB / 1.362 GB, free: 14.09 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.825e-05/0.3818, allocations: 16.64 kB / 1.362 GB, free: 14.08 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.304e-05/0.3819, allocations: 31.42 kB / 1.362 GB, free: 14.05 MB / 1.061 GB Notification: Performance of SimCode: time 8.61e-07/0.3819, allocations: 4 kB / 1.362 GB, free: 14.05 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02949/0.4114, allocations: 2.856 MB / 1.365 GB, free: 11.33 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.37, allocations: 4.062 kB / 1.365 GB, free: 11.32 MB / 1.061 GB " [Timeout remaining time 289] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv","/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] "Error: Could not read variable hysteresis.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv. Warning: Get data of variable hysteresis.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv failed! Error: Could not read variable hysteresis1.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv. Warning: Get data of variable hysteresis1.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv failed! Error: Could not read variable hysteresis2.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv. Warning: Get data of variable hysteresis2.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.365099388999624]