Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001363/0.001363, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001592/0.001592, allocations: 217.6 kB / 22.25 MB, free: 5.121 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.554/1.554, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.248/3.248, allocations: 0.49 GB / 0.7951 GB, free: 33.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="Buildings_12_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.003116/0.003116, allocations: 70.67 kB / 1.154 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.4257, allocations: 176.1 MB / 1.326 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002439/0.4282, allocations: 0.869 MB / 1.327 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.4296, allocations: 0.9289 MB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.084e-05/0.4297, allocations: 0 / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.423e-05/0.4297, allocations: 7.875 kB / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.4298, allocations: 27.73 kB / 1.328 GB, free: 64 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.4301, allocations: 43.94 kB / 1.328 GB, free: 20 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.4303, allocations: 115.6 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.4304, allocations: 17.3 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002385/0.4307, allocations: 55.83 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.4308, allocations: 59.7 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.4309, allocations: 8 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.549e-05/0.4309, allocations: 12 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.407e-05/0.4309, allocations: 31.89 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.169e-05/0.431, allocations: 51.73 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.4313, allocations: 123.7 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.4313, allocations: 0 / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4313, allocations: 4 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.4313, allocations: 0 / 1.328 GB, free: 15.55 MB / 1.029 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.0007229/0.432, allocations: 369.7 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.432, allocations: 12.03 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.575e-05/0.4321, allocations: 38.75 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002705/0.4324, allocations: 32.86 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005002/0.4329, allocations: 196.4 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.4329, allocations: 8.312 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.4329, allocations: 8.375 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.4332, allocations: 120.5 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.4332, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.4332, allocations: 4 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.4332, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002788/0.4335, allocations: 83.86 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006465/0.4341, allocations: 468.1 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002661/0.4344, allocations: 119.8 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.4346, allocations: 50.59 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.4346, allocations: 0 / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.4346, allocations: 42.56 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.4346, allocations: 3.938 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0005923/0.4352, allocations: 157.6 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.704e-05/0.4353, allocations: 114.8 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.4354, allocations: 144.7 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.4354, allocations: 33.7 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.276e-05/0.4355, allocations: 108.2 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.4356, allocations: 27.78 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.768e-05/0.4356, allocations: 29.7 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.4358, allocations: 326.8 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.4359, allocations: 39.97 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.4361, allocations: 77.11 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.4364, allocations: 102.7 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.4364, allocations: 4 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003668/0.4368, allocations: 137.5 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.4368, allocations: 4 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4368, allocations: 0 / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.4368, allocations: 11.92 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.4369, allocations: 19.98 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.4369, allocations: 0 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.4371, allocations: 19.94 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.4371, allocations: 3.938 kB / 1.331 GB, free: 12.41 MB / 1.029 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.0001158/0.4372, allocations: 129.8 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.567e-05/0.4372, allocations: 7.953 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002571/0.4375, allocations: 93.98 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.4375, allocations: 0 / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4375, allocations: 4 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4375, allocations: 0 / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003196/0.4378, allocations: 176.7 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4378, allocations: 0 / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.4379, allocations: 23.91 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.4379, allocations: 4 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.438, allocations: 4 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.438, allocations: 0 / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.438, allocations: 4 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004544/0.4384, allocations: 373.9 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.829e-05/0.4384, allocations: 11.89 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.4385, allocations: 8 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.4387, allocations: 11.98 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.718e-05/0.4388, allocations: 23.95 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.4388, allocations: 7.922 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.241e-05/0.4389, allocations: 111.3 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4389, allocations: 0 / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003154/0.4392, allocations: 23.89 kB / 1.332 GB, free: 11.33 MB / 1.029 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.000793/0.44, allocations: 0.9063 MB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003599/0.4403, allocations: 95.86 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4403, allocations: 0 / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.4405, allocations: 47.95 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000459/0.441, allocations: 24 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.4433, allocations: 1.797 MB / 1.335 GB, free: 8.332 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.4437, allocations: 0.7002 MB / 1.335 GB, free: 7.605 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.742e-05/0.4438, allocations: 24.62 kB / 1.336 GB, free: 7.582 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.719e-05/0.4438, allocations: 31.42 kB / 1.336 GB, free: 7.551 MB / 1.029 GB Notification: Performance of SimCode: time 4.51e-07/0.4438, allocations: 0 / 1.336 GB, free: 7.551 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02986/0.4737, allocations: 2.864 MB / 1.338 GB, free: 4.832 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.31, allocations: 9.078 kB / 1.338 GB, free: 4.828 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv. Warning: Get data of variable hysteresis.y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv failed! Error: Could not read variable hysteresis1.y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv. Warning: Get data of variable hysteresis1.y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv failed! Error: Could not read variable hysteresis2.y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv. Warning: Get data of variable hysteresis2.y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.29614709499947]