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.001959/0.001959, allocations: 103.6 kB / 18.95 MB, free: 2.547 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.002603/0.002603, allocations: 214.8 kB / 22.25 MB, free: 4.867 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.561/1.561, allocations: 230.6 MB / 256 MB, free: 7.797 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.821/2.821, allocations: 476 MB / 0.7699 GB, free: 4.727 MB / 0.6231 GB " [Timeout remaining time 177] 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.002179/0.002179, allocations: 74.36 kB / 1.117 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3254, allocations: 170 MB / 1.283 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.003015/0.3284, allocations: 0.8162 MB / 1.283 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001694/0.3301, allocations: 0.9133 MB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.565e-05/0.3302, allocations: 0 / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.233e-05/0.3302, allocations: 11.86 kB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.3303, allocations: 19.8 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.3307, allocations: 47.89 kB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.3309, allocations: 119.7 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.331, allocations: 20.81 kB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002882/0.3313, allocations: 59.72 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.3314, allocations: 51.75 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.106e-05/0.3315, allocations: 8 kB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.301e-05/0.3315, allocations: 12 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.627e-05/0.3316, allocations: 23.92 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.621e-05/0.3316, allocations: 47.77 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.3319, allocations: 117.2 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3319, allocations: 0 / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3319, allocations: 4 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.3319, allocations: 0 / 1.285 GB, free: 10.15 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.0008483/0.3327, allocations: 369.7 kB / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.945e-05/0.3328, allocations: 15.97 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.082e-05/0.3329, allocations: 38.73 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000326/0.3332, allocations: 36.75 kB / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005749/0.3338, allocations: 194.5 kB / 1.285 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.3338, allocations: 4.375 kB / 1.285 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.3338, allocations: 8.375 kB / 1.285 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003012/0.3341, allocations: 123.7 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.3341, allocations: 0 / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.3341, allocations: 3.984 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.3342, allocations: 11.98 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.3344, allocations: 67.94 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007103/0.3352, allocations: 464.1 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.3354, allocations: 115.8 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.3356, allocations: 48.39 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.3356, allocations: 4 kB / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.3357, allocations: 38.5 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.3357, allocations: 0 / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.000609/0.3363, allocations: 165.6 kB / 1.286 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.406e-05/0.3364, allocations: 106.8 kB / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/0.3366, allocations: 144.9 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.603e-05/0.3367, allocations: 37.69 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.504e-05/0.3367, allocations: 100.3 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.613e-05/0.3368, allocations: 31.73 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.3369, allocations: 29.7 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.3371, allocations: 326.8 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.3372, allocations: 44.03 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003608/0.3376, allocations: 162.2 kB / 1.287 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002833/0.3379, allocations: 86.52 kB / 1.287 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3379, allocations: 0 / 1.287 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003877/0.3383, allocations: 153.4 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.3383, allocations: 4 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3383, allocations: 0 / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.3383, allocations: 4 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.3385, allocations: 19.92 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.3385, allocations: 0 / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.3386, allocations: 27.92 kB / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.3386, allocations: 0 / 1.288 GB, free: 6.934 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.00013/0.3388, allocations: 125.8 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.678e-05/0.3388, allocations: 8.281 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000278/0.3391, allocations: 97.91 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.3391, allocations: 4 kB / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.3391, allocations: 0 / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3391, allocations: 0 / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000393/0.3395, allocations: 160.7 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.3395, allocations: 3.938 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.3396, allocations: 27.98 kB / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3396, allocations: 0 / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.3396, allocations: 3.984 kB / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.3396, allocations: 4 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3396, allocations: 0 / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004825/0.3401, allocations: 377.9 kB / 1.288 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.34e-05/0.3402, allocations: 19.89 kB / 1.288 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.3402, allocations: 0 / 1.288 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.3404, allocations: 19.97 kB / 1.288 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.005e-05/0.3405, allocations: 23.95 kB / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.3405, allocations: 7.938 kB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.748e-05/0.3406, allocations: 111.2 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3406, allocations: 0 / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003234/0.3409, allocations: 16 kB / 1.289 GB, free: 5.863 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.0008999/0.3418, allocations: 0.9062 MB / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003722/0.3422, allocations: 91.92 kB / 1.29 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.3422, allocations: 4 kB / 1.29 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.3424, allocations: 47.91 kB / 1.29 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004752/0.3428, allocations: 17.78 kB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/0.3453, allocations: 1.801 MB / 1.291 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.3454, allocations: 88.14 kB / 1.292 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.96e-05/0.3455, allocations: 16.64 kB / 1.292 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.27e-05/0.3456, allocations: 35.42 kB / 1.292 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3456, allocations: 0 / 1.292 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03419/0.3798, allocations: 3.309 MB / 1.295 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.85, allocations: 6.422 kB / 1.295 GB, free: 15.55 MB / 0.9981 GB " [Timeout remaining time 287] (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: 18.821537715382874]