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.001391/0.001391, allocations: 105.4 kB / 16.45 MB, free: 6.512 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.001497/0.001497, allocations: 205.7 kB / 19.42 MB, free: 3.648 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.521/1.521, allocations: 230.6 MB / 252.8 MB, free: 8.941 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.13/3.13, allocations: 0.49 GB / 0.7916 GB, free: 33.47 MB / 0.6231 GB " [Timeout remaining time 177] 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.00275/0.00275, allocations: 68 kB / 1.149 GB, free: 26.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4528/0.4555, allocations: 176.1 MB / 1.321 GB, free: 3.273 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002443/0.458, allocations: 0.8533 MB / 1.322 GB, free: 2.422 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.4593, allocations: 0.9289 MB / 1.323 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.176e-05/0.4593, allocations: 0 / 1.323 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.903e-05/0.4594, allocations: 11.81 kB / 1.323 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.4595, allocations: 19.8 kB / 1.323 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002829/0.4598, allocations: 39.88 kB / 1.323 GB, free: 1.41 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.46, allocations: 111.7 kB / 1.323 GB, free: 1.301 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.4601, allocations: 21.09 kB / 1.323 GB, free: 1.277 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002073/0.4603, allocations: 59.78 kB / 1.323 GB, free: 1.219 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.4604, allocations: 59.73 kB / 1.323 GB, free: 1.16 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.4604, allocations: 11.94 kB / 1.323 GB, free: 1.148 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.648e-05/0.4605, allocations: 16 kB / 1.323 GB, free: 1.133 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.532e-05/0.4605, allocations: 19.92 kB / 1.323 GB, free: 1.113 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.734e-05/0.4606, allocations: 55.7 kB / 1.323 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002768/0.4609, allocations: 119.7 kB / 1.323 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.4609, allocations: 0 / 1.323 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4609, allocations: 0 / 1.323 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.4609, allocations: 0 / 1.323 GB, free: 0.9414 MB / 1.014 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.0008622/0.4618, allocations: 454.8 kB / 1.324 GB, free: 456 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.4618, allocations: 11.98 kB / 1.324 GB, free: 444 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.246e-05/0.4619, allocations: 42.69 kB / 1.324 GB, free: 392 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000274/0.4621, allocations: 28.86 kB / 1.324 GB, free: 364 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005596/0.4627, allocations: 264.2 kB / 1.324 GB, free: 60 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.4627, allocations: 8.312 kB / 1.324 GB, free: 52 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.4627, allocations: 12.38 kB / 1.324 GB, free: 40 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.463, allocations: 116.5 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.4631, allocations: 8 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.4631, allocations: 0 / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.4631, allocations: 7.938 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003281/0.4634, allocations: 71.92 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007429/0.4641, allocations: 0.4932 MB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/0.4645, allocations: 107.8 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.4647, allocations: 54.61 kB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.4647, allocations: 0 / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.4647, allocations: 42.5 kB / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 8.91e-07/0.4647, allocations: 0 / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0006434/0.4654, allocations: 157.7 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.729e-05/0.4654, allocations: 106.8 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.4656, allocations: 147.9 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.4656, allocations: 29.7 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.4657, allocations: 120.6 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.4657, allocations: 19.86 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.21e-05/0.4658, allocations: 25.7 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.466, allocations: 330.8 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.4661, allocations: 35.97 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.4663, allocations: 85.05 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.4666, allocations: 98.55 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4666, allocations: 0 / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003989/0.467, allocations: 145.5 kB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.467, allocations: 4 kB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.467, allocations: 0 / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.4671, allocations: 4 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.4672, allocations: 23.86 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.4672, allocations: 0 / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.4674, allocations: 27.86 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.4674, allocations: 4 kB / 1.326 GB, free: 13.59 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.0001447/0.4675, allocations: 125.8 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.715e-05/0.4676, allocations: 7.953 kB / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002849/0.4679, allocations: 89.83 kB / 1.326 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.4679, allocations: 0 / 1.326 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.4679, allocations: 4 kB / 1.326 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4679, allocations: 0 / 1.326 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003544/0.4682, allocations: 217.4 kB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4682, allocations: 0 / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.4684, allocations: 20.05 kB / 1.327 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.4684, allocations: 4 kB / 1.327 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.4684, allocations: 3.984 kB / 1.327 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4684, allocations: 0 / 1.327 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4684, allocations: 4 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005206/0.4689, allocations: 373.9 kB / 1.327 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.817e-05/0.469, allocations: 89 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.469, allocations: 4 kB / 1.327 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.4692, allocations: 15.97 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.791e-05/0.4693, allocations: 27.97 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.4693, allocations: 3.938 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.916e-05/0.4694, allocations: 112.9 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4694, allocations: 0 / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003246/0.4697, allocations: 19.95 kB / 1.327 GB, free: 12.39 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.0008875/0.4706, allocations: 0.9062 MB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004191/0.471, allocations: 96.09 kB / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.471, allocations: 0 / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.4712, allocations: 55.97 kB / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.4717, allocations: 15.94 kB / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002539/0.4742, allocations: 1.801 MB / 1.33 GB, free: 9.387 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.4746, allocations: 0.7002 MB / 1.331 GB, free: 8.66 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.241e-05/0.4747, allocations: 16.64 kB / 1.331 GB, free: 8.641 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.635e-05/0.4748, allocations: 35.42 kB / 1.331 GB, free: 8.605 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.4748, allocations: 0 / 1.331 GB, free: 8.605 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0259/0.5007, allocations: 2.729 MB / 1.333 GB, free: 5.98 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.195/8.696, allocations: 15.78 kB / 1.333 GB, free: 5.965 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.548860982991755]