Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001952/0.001952, allocations: 107.3 kB / 16.45 MB, free: 6.453 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.00242/0.00242, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.595/1.595, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.941/2.941, allocations: 476.7 MB / 0.7672 GB, free: 5.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="Buildings_11_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.002031/0.002031, allocations: 63.91 kB / 1.112 GB, free: 1.484 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075/1.077, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002341/1.08, allocations: 0.8597 MB / 1.279 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001241/1.081, allocations: 0.9249 MB / 1.28 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.033e-05/1.081, allocations: 4 kB / 1.28 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.549e-05/1.081, allocations: 11.88 kB / 1.28 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001059/1.081, allocations: 15.75 kB / 1.28 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/1.081, allocations: 47.92 kB / 1.28 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001734/1.081, allocations: 107.7 kB / 1.28 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/1.082, allocations: 25.06 kB / 1.28 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/1.082, allocations: 59.81 kB / 1.28 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/1.082, allocations: 55.75 kB / 1.28 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/1.082, allocations: 12 kB / 1.28 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.428e-05/1.082, allocations: 19.94 kB / 1.28 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.893e-05/1.082, allocations: 23.91 kB / 1.28 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.871e-05/1.082, allocations: 47.73 kB / 1.28 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002132/1.082, allocations: 125.2 kB / 1.281 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/1.082, allocations: 4 kB / 1.281 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/1.082, allocations: 0 / 1.281 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.123e-06/1.082, allocations: 0 / 1.281 GB, free: 11.06 MB / 0.9825 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.0009153/1.083, allocations: 446.8 kB / 1.281 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/1.083, allocations: 12.03 kB / 1.281 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.567e-05/1.083, allocations: 34.75 kB / 1.281 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002859/1.084, allocations: 32.86 kB / 1.281 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000553/1.084, allocations: 252.3 kB / 1.281 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/1.084, allocations: 8.375 kB / 1.281 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/1.084, allocations: 8.312 kB / 1.281 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003146/1.084, allocations: 120.5 kB / 1.281 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/1.084, allocations: 0 / 1.281 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/1.084, allocations: 0 / 1.281 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/1.084, allocations: 0 / 1.281 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003091/1.085, allocations: 83.86 kB / 1.282 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007808/1.086, allocations: 0.501 MB / 1.282 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/1.086, allocations: 103.8 kB / 1.282 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/1.086, allocations: 58.55 kB / 1.282 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/1.086, allocations: 4 kB / 1.282 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/1.086, allocations: 34.55 kB / 1.282 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/1.086, allocations: 0 / 1.282 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0006491/1.087, allocations: 161.5 kB / 1.282 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.094e-05/1.087, allocations: 110.8 kB / 1.282 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/1.087, allocations: 145.3 kB / 1.283 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/1.087, allocations: 33.7 kB / 1.283 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.826e-05/1.087, allocations: 109.9 kB / 1.283 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.966e-05/1.087, allocations: 27.78 kB / 1.283 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.438e-05/1.087, allocations: 25.88 kB / 1.283 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.00018/1.087, allocations: 330.8 kB / 1.283 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/1.088, allocations: 43.95 kB / 1.283 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/1.088, allocations: 77.12 kB / 1.283 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002976/1.088, allocations: 102.7 kB / 1.283 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/1.088, allocations: 0 / 1.283 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003866/1.088, allocations: 137.6 kB / 1.283 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/1.088, allocations: 4 kB / 1.283 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/1.088, allocations: 8 kB / 1.283 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/1.088, allocations: 0 / 1.283 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/1.089, allocations: 19.97 kB / 1.284 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/1.089, allocations: 7.938 kB / 1.284 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/1.089, allocations: 19.94 kB / 1.284 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/1.089, allocations: 4 kB / 1.284 GB, free: 7.73 MB / 0.9825 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.0001184/1.089, allocations: 126.5 kB / 1.284 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.229e-05/1.089, allocations: 11.95 kB / 1.284 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002901/1.089, allocations: 89.83 kB / 1.284 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/1.089, allocations: 4 kB / 1.284 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/1.089, allocations: 3.984 kB / 1.284 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/1.089, allocations: 0 / 1.284 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/1.09, allocations: 201.6 kB / 1.284 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/1.09, allocations: 0 / 1.284 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/1.09, allocations: 27.92 kB / 1.284 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/1.09, allocations: 0 / 1.284 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/1.09, allocations: 3.984 kB / 1.284 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/1.09, allocations: 4 kB / 1.284 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.09, allocations: 0 / 1.284 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004921/1.09, allocations: 369.9 kB / 1.284 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.13e-05/1.09, allocations: 89.06 kB / 1.284 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/1.09, allocations: 7.984 kB / 1.284 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/1.091, allocations: 15.92 kB / 1.284 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.46e-05/1.091, allocations: 19.97 kB / 1.284 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/1.091, allocations: 11.92 kB / 1.284 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.69e-05/1.091, allocations: 113.5 kB / 1.285 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/1.091, allocations: 0 / 1.285 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003144/1.091, allocations: 16 kB / 1.285 GB, free: 6.531 MB / 0.9825 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.0009735/1.092, allocations: 0.9145 MB / 1.286 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004154/1.092, allocations: 95.86 kB / 1.286 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.092, allocations: 3.938 kB / 1.286 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001849/1.093, allocations: 52.28 kB / 1.286 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004835/1.093, allocations: 13.81 kB / 1.286 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/1.096, allocations: 1.819 MB / 1.287 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/1.096, allocations: 0.7002 MB / 1.288 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.989e-05/1.096, allocations: 16.64 kB / 1.288 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.312e-05/1.096, allocations: 39.36 kB / 1.288 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/1.096, allocations: 0 / 1.288 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03078/1.127, allocations: 2.711 MB / 1.291 GB, free: 116 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.07/9.197, allocations: 16.33 kB / 1.291 GB, free: 104 kB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv. Warning: Get data of variable hysteresis.y from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv failed! Error: Could not read variable hysteresis1.y in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv. Warning: Get data of variable hysteresis1.y from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv failed! Error: Could not read variable hysteresis2.y in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv. Warning: Get data of variable hysteresis2.y from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.73126943805255]