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.001438/0.001438, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001533/0.001533, allocations: 212.5 kB / 22.24 MB, free: 4.855 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.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.789 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.335/3.335, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.002201/0.002201, allocations: 67.19 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.3901, allocations: 181.9 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.00227/0.3923, allocations: 0.8259 MB / 1.364 GB, free: 13.25 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00139/0.3937, allocations: 0.9133 MB / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.47e-05/0.3938, allocations: 0 / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.861e-05/0.3938, allocations: 7.875 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.653e-05/0.3939, allocations: 15.81 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.3942, allocations: 51.86 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.3944, allocations: 111.7 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.3945, allocations: 17.3 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002099/0.3947, allocations: 59.77 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.3948, allocations: 51.75 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.3948, allocations: 15.94 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.002e-05/0.3949, allocations: 12 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.601e-05/0.3949, allocations: 27.91 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.947e-05/0.395, allocations: 39.8 kB / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.3952, allocations: 127.7 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3952, allocations: 0 / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3952, allocations: 4 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.3952, allocations: 0 / 1.366 GB, free: 11.79 MB / 1.061 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.0007397/0.396, allocations: 369.8 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.396, allocations: 8.031 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.992e-05/0.3961, allocations: 42.69 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002589/0.3963, allocations: 36.75 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005117/0.3968, allocations: 186.5 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.3968, allocations: 4.375 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.3969, allocations: 16.31 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003047/0.3972, allocations: 124.4 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3972, allocations: 0 / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.3972, allocations: 4 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.3972, allocations: 8 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002893/0.3975, allocations: 75.91 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006703/0.3982, allocations: 460.2 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002878/0.3985, allocations: 115.8 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.3986, allocations: 50.61 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.3986, allocations: 4 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.3987, allocations: 34.5 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.3987, allocations: 0 / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0006366/0.3993, allocations: 165.6 kB / 1.367 GB, free: 9.941 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.804e-05/0.3994, allocations: 102.8 kB / 1.367 GB, free: 9.816 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.3995, allocations: 149.7 kB / 1.368 GB, free: 9.664 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.3996, allocations: 29.7 kB / 1.368 GB, free: 9.629 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.956e-05/0.3997, allocations: 112.2 kB / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.3997, allocations: 31.84 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.768e-05/0.3998, allocations: 25.72 kB / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3999, allocations: 326.8 kB / 1.368 GB, free: 9.121 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.4001, allocations: 44.06 kB / 1.368 GB, free: 9.078 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.4003, allocations: 162.2 kB / 1.368 GB, free: 8.883 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002876/0.4006, allocations: 86.5 kB / 1.368 GB, free: 8.789 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4006, allocations: 4 kB / 1.368 GB, free: 8.785 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003833/0.401, allocations: 141.5 kB / 1.368 GB, free: 8.641 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.401, allocations: 7.938 kB / 1.368 GB, free: 8.633 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.401, allocations: 4 kB / 1.368 GB, free: 8.629 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.4011, allocations: 336 / 1.368 GB, free: 8.629 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.4012, allocations: 19.97 kB / 1.368 GB, free: 8.609 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.4012, allocations: 7.938 kB / 1.368 GB, free: 8.602 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.4013, allocations: 15.98 kB / 1.368 GB, free: 8.586 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.4013, allocations: 8 kB / 1.369 GB, free: 8.578 MB / 1.061 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.0001296/0.4015, allocations: 124.6 kB / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.24e-05/0.4015, allocations: 19.91 kB / 1.369 GB, free: 8.43 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002863/0.4018, allocations: 85.92 kB / 1.369 GB, free: 8.332 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.4018, allocations: 4 kB / 1.369 GB, free: 8.328 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4018, allocations: 0 / 1.369 GB, free: 8.328 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.4018, allocations: 3.984 kB / 1.369 GB, free: 8.324 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003244/0.4022, allocations: 160.7 kB / 1.369 GB, free: 8.125 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.4022, allocations: 11.94 kB / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.4023, allocations: 20.03 kB / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.4023, allocations: 4 kB / 1.369 GB, free: 8.09 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.4023, allocations: 4 kB / 1.369 GB, free: 8.086 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4023, allocations: 0 / 1.369 GB, free: 8.086 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.4023, allocations: 3.938 kB / 1.369 GB, free: 8.082 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005044/0.4028, allocations: 365.9 kB / 1.369 GB, free: 7.707 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.296e-05/0.4028, allocations: 23.83 kB / 1.369 GB, free: 7.684 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.4029, allocations: 4 kB / 1.369 GB, free: 7.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.4031, allocations: 15.98 kB / 1.369 GB, free: 7.664 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.435e-05/0.4032, allocations: 19.95 kB / 1.369 GB, free: 7.645 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.4032, allocations: 11.92 kB / 1.369 GB, free: 7.633 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001041/0.4033, allocations: 111.9 kB / 1.369 GB, free: 7.523 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4033, allocations: 0 / 1.369 GB, free: 7.523 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003277/0.4036, allocations: 12 kB / 1.369 GB, free: 7.512 MB / 1.061 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.00084/0.4044, allocations: 0.9073 MB / 1.37 GB, free: 6.578 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000371/0.4048, allocations: 91.86 kB / 1.37 GB, free: 6.488 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.4048, allocations: 4 kB / 1.37 GB, free: 6.484 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.405, allocations: 55.89 kB / 1.37 GB, free: 6.43 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004718/0.4055, allocations: 14.59 kB / 1.371 GB, free: 6.418 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.4079, allocations: 1.816 MB / 1.372 GB, free: 4.5 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.408, allocations: 84.19 kB / 1.372 GB, free: 4.395 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.315e-05/0.4081, allocations: 16.97 kB / 1.372 GB, free: 4.379 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.152e-05/0.4082, allocations: 31.42 kB / 1.372 GB, free: 4.348 MB / 1.061 GB Notification: Performance of SimCode: time 5.01e-07/0.4082, allocations: 0 / 1.372 GB, free: 4.348 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03094/0.4391, allocations: 3.3 MB / 1.376 GB, free: 1.199 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.08, allocations: 8.219 kB / 1.376 GB, free: 1.195 MB / 1.061 GB " [Timeout remaining time 288] (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: 19.17772255698219]