Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0008763/0.0008763, allocations: 104.3 kB / 19.72 MB, free: 424 kB / 13.93 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.001121/0.001121, allocations: 215.8 kB / 23.03 MB, free: 2.953 MB / 13.93 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.029/1.029, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.008/2.008, allocations: 0.5046 GB / 0.8104 GB, free: 2.723 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 71.89 kB / 1.177 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7711/0.7723, allocations: 180 MB / 1.352 GB, free: 1.609 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001613/0.7739, allocations: 0.8188 MB / 1.353 GB, free: 0.793 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.775, allocations: 0.9132 MB / 1.354 GB, free: 15.87 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.352e-05/0.775, allocations: 8 kB / 1.354 GB, free: 15.86 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 3.342e-05/0.7751, allocations: 7.875 kB / 1.354 GB, free: 15.85 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 8.21e-05/0.7752, allocations: 15.75 kB / 1.354 GB, free: 15.84 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.7754, allocations: 51.92 kB / 1.354 GB, free: 15.79 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.7755, allocations: 111.6 kB / 1.354 GB, free: 15.68 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.7756, allocations: 25.03 kB / 1.354 GB, free: 15.65 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.7758, allocations: 55.84 kB / 1.354 GB, free: 15.6 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.929e-05/0.7758, allocations: 51.75 kB / 1.355 GB, free: 15.55 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.7759, allocations: 12 kB / 1.355 GB, free: 15.54 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.164e-05/0.7759, allocations: 12 kB / 1.355 GB, free: 15.52 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.982e-05/0.7759, allocations: 27.91 kB / 1.355 GB, free: 15.5 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 3.293e-05/0.776, allocations: 39.78 kB / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.7761, allocations: 129.6 kB / 1.355 GB, free: 15.33 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.7761, allocations: 0 / 1.355 GB, free: 15.33 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.214e-06/0.7761, allocations: 0 / 1.355 GB, free: 15.33 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.7761, allocations: 3.938 kB / 1.355 GB, free: 15.33 MB / 1.042 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.0004739/0.7766, allocations: 373.8 kB / 1.355 GB, free: 14.93 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.7766, allocations: 8.922 kB / 1.355 GB, free: 14.92 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.993e-05/0.7767, allocations: 38.75 kB / 1.355 GB, free: 14.88 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.7768, allocations: 32.81 kB / 1.355 GB, free: 14.84 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/0.7771, allocations: 197.5 kB / 1.355 GB, free: 14.63 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.7771, allocations: 12.36 kB / 1.355 GB, free: 14.62 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.7772, allocations: 8.375 kB / 1.355 GB, free: 14.61 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.7773, allocations: 120.5 kB / 1.355 GB, free: 14.48 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.7774, allocations: 4 kB / 1.355 GB, free: 14.47 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.7774, allocations: 0 / 1.355 GB, free: 14.47 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.7774, allocations: 0 / 1.355 GB, free: 14.47 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.7775, allocations: 83.86 kB / 1.356 GB, free: 14.39 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004306/0.7779, allocations: 456.1 kB / 1.356 GB, free: 13.89 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.7781, allocations: 111.8 kB / 1.356 GB, free: 13.76 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.919e-05/0.7782, allocations: 54.61 kB / 1.356 GB, free: 13.7 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.7782, allocations: 3.938 kB / 1.356 GB, free: 13.69 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.7782, allocations: 38.56 kB / 1.356 GB, free: 13.64 MB / 1.042 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.7782, allocations: 0 / 1.356 GB, free: 13.64 MB / 1.042 GB Notification: Performance of matching and sorting (n=8): time 0.000342/0.7786, allocations: 157.4 kB / 1.356 GB, free: 13.48 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.7786, allocations: 110.8 kB / 1.356 GB, free: 13.35 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.37e-05/0.7787, allocations: 146.5 kB / 1.357 GB, free: 13.2 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.7787, allocations: 37.7 kB / 1.357 GB, free: 13.16 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.201e-05/0.7788, allocations: 100.4 kB / 1.357 GB, free: 13.05 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.7788, allocations: 31.84 kB / 1.357 GB, free: 13.02 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.7789, allocations: 25.72 kB / 1.357 GB, free: 12.99 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.507e-05/0.7789, allocations: 330.8 kB / 1.357 GB, free: 12.66 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.707e-05/0.779, allocations: 39.97 kB / 1.357 GB, free: 12.62 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.7791, allocations: 158.2 kB / 1.357 GB, free: 12.43 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.7793, allocations: 98.44 kB / 1.357 GB, free: 12.32 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.7793, allocations: 0 / 1.357 GB, free: 12.32 MB / 1.042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001899/0.7795, allocations: 137.8 kB / 1.358 GB, free: 12.18 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.7795, allocations: 8 kB / 1.358 GB, free: 12.17 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.7795, allocations: 0 / 1.358 GB, free: 12.17 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.7795, allocations: 4.062 kB / 1.358 GB, free: 12.17 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.084e-05/0.7796, allocations: 24.03 kB / 1.358 GB, free: 12.14 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.7796, allocations: 7.922 kB / 1.358 GB, free: 12.14 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.831e-05/0.7797, allocations: 19.97 kB / 1.358 GB, free: 12.12 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.7797, allocations: 4 kB / 1.358 GB, free: 12.11 MB / 1.042 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 7.579e-05/0.7798, allocations: 127.4 kB / 1.358 GB, free: 11.98 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.7798, allocations: 11.91 kB / 1.358 GB, free: 11.97 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.78, allocations: 93.98 kB / 1.358 GB, free: 11.87 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.78, allocations: 3.938 kB / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.78, allocations: 0 / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.78, allocations: 7.984 kB / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.7802, allocations: 164.5 kB / 1.358 GB, free: 11.65 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.7802, allocations: 0 / 1.358 GB, free: 11.65 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.136e-05/0.7802, allocations: 23.97 kB / 1.358 GB, free: 11.63 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.7802, allocations: 0 / 1.358 GB, free: 11.63 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.7802, allocations: 4 kB / 1.358 GB, free: 11.62 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.7802, allocations: 4 kB / 1.358 GB, free: 11.62 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.7802, allocations: 0 / 1.358 GB, free: 11.62 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.7805, allocations: 377.8 kB / 1.358 GB, free: 11.23 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.274e-05/0.7805, allocations: 11.94 kB / 1.358 GB, free: 11.22 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.7805, allocations: 8 kB / 1.358 GB, free: 11.21 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.7806, allocations: 11.98 kB / 1.358 GB, free: 11.2 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.673e-05/0.7807, allocations: 27.95 kB / 1.358 GB, free: 11.18 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.7807, allocations: 7.938 kB / 1.358 GB, free: 11.17 MB / 1.042 GB Notification: Performance of sorting global known variables: time 4.788e-05/0.7807, allocations: 110.1 kB / 1.359 GB, free: 11.06 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7807, allocations: 0 / 1.359 GB, free: 11.06 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002105/0.7809, allocations: 20 kB / 1.359 GB, free: 11.04 MB / 1.042 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.0004393/0.7814, allocations: 0.8984 MB / 1.359 GB, free: 10.12 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.000215/0.7816, allocations: 99.86 kB / 1.36 GB, free: 10.02 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.7816, allocations: 0 / 1.36 GB, free: 10.02 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 8.375e-05/0.7817, allocations: 47.89 kB / 1.36 GB, free: 9.973 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.782, allocations: 19.94 kB / 1.36 GB, free: 9.953 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.7836, allocations: 1.802 MB / 1.361 GB, free: 8.047 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.81e-05/0.7837, allocations: 92.25 kB / 1.361 GB, free: 7.938 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 6.498e-05/0.7838, allocations: 20.75 kB / 1.361 GB, free: 7.918 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.469e-05/0.7838, allocations: 35.42 kB / 1.361 GB, free: 7.883 MB / 1.042 GB Notification: Performance of SimCode: time 9.22e-07/0.7838, allocations: 0 / 1.361 GB, free: 7.883 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08149/0.8653, allocations: 3.296 MB / 1.365 GB, free: 4.738 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.116/7.981, allocations: 8.062 kB / 1.365 GB, free: 4.73 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.906649608165026]