Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001609/0.001609, allocations: 116.1 kB / 17.16 MB, free: 5.906 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.001907/0.001907, allocations: 215 kB / 20.13 MB, free: 2.961 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.618/1.618, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.01/3.01, allocations: 0.5003 GB / 0.8026 GB, free: 6.781 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="cs",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.002047/0.002047, allocations: 63.91 kB / 1.165 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.07/1.072, allocations: 178.9 MB / 1.34 GB, free: 16.31 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001922/1.074, allocations: 0.8673 MB / 1.341 GB, free: 15.74 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009686/1.074, allocations: 0.9194 MB / 1.342 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.125e-05/1.075, allocations: 2.25 kB / 1.342 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.921e-05/1.075, allocations: 9.281 kB / 1.342 GB, free: 15.04 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.861e-05/1.075, allocations: 23.3 kB / 1.342 GB, free: 15.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/1.075, allocations: 43.81 kB / 1.342 GB, free: 15 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001352/1.075, allocations: 112.6 kB / 1.342 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/1.075, allocations: 23.66 kB / 1.342 GB, free: 14.93 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/1.075, allocations: 58.25 kB / 1.342 GB, free: 14.9 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.529e-05/1.075, allocations: 60 kB / 1.342 GB, free: 14.87 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/1.075, allocations: 10.53 kB / 1.342 GB, free: 14.87 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.065e-05/1.075, allocations: 12.58 kB / 1.342 GB, free: 14.87 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.592e-05/1.076, allocations: 23.33 kB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.758e-05/1.076, allocations: 52.62 kB / 1.342 GB, free: 14.82 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001974/1.076, allocations: 123.6 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/1.076, allocations: 1.25 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.583e-06/1.076, allocations: 0 / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.941e-06/1.076, allocations: 4 kB / 1.342 GB, free: 14.77 MB / 1.061 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.0006511/1.076, allocations: 448 kB / 1.343 GB, free: 14.36 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/1.076, allocations: 9.078 kB / 1.343 GB, free: 14.36 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.475e-05/1.076, allocations: 3.625 kB / 1.343 GB, free: 14.36 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.749e-05/1.076, allocations: 38.38 kB / 1.343 GB, free: 14.31 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002484/1.077, allocations: 44.42 kB / 1.343 GB, free: 14.29 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004536/1.077, allocations: 247.2 kB / 1.343 GB, free: 14.08 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/1.077, allocations: 9.531 kB / 1.343 GB, free: 14.07 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/1.077, allocations: 6.312 kB / 1.343 GB, free: 14.07 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/1.078, allocations: 128.7 kB / 1.343 GB, free: 13.99 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/1.078, allocations: 1.156 kB / 1.343 GB, free: 13.99 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/1.078, allocations: 4 kB / 1.343 GB, free: 13.98 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/1.078, allocations: 2.594 kB / 1.343 GB, free: 13.98 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003005/1.078, allocations: 76.66 kB / 1.343 GB, free: 13.97 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005131/1.078, allocations: 0.4942 MB / 1.344 GB, free: 13.5 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002366/1.079, allocations: 114.7 kB / 1.344 GB, free: 13.4 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/1.079, allocations: 55.58 kB / 1.344 GB, free: 13.37 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/1.079, allocations: 1.25 kB / 1.344 GB, free: 13.37 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/1.079, allocations: 37.22 kB / 1.344 GB, free: 13.32 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/1.079, allocations: 1.812 kB / 1.344 GB, free: 13.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0006025/1.079, allocations: 156.6 kB / 1.344 GB, free: 13.27 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/1.079, allocations: 109.5 kB / 1.344 GB, free: 13.14 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.923e-05/1.08, allocations: 152.7 kB / 1.345 GB, free: 13.02 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/1.08, allocations: 27.73 kB / 1.345 GB, free: 12.99 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.386e-05/1.08, allocations: 113.2 kB / 1.345 GB, free: 12.88 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.967e-05/1.08, allocations: 27.2 kB / 1.345 GB, free: 12.86 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.873e-05/1.08, allocations: 24.36 kB / 1.345 GB, free: 12.84 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.213e-05/1.08, allocations: 325.1 kB / 1.345 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/1.08, allocations: 40.52 kB / 1.345 GB, free: 12.51 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/1.08, allocations: 85.25 kB / 1.345 GB, free: 12.45 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/1.08, allocations: 97.19 kB / 1.345 GB, free: 12.4 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/1.08, allocations: 5.094 kB / 1.345 GB, free: 12.4 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003654/1.081, allocations: 136.1 kB / 1.345 GB, free: 12.34 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/1.081, allocations: 7.484 kB / 1.345 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/1.081, allocations: 5.219 kB / 1.345 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/1.081, allocations: 1.859 kB / 1.345 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/1.081, allocations: 22.16 kB / 1.345 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/1.081, allocations: 5.906 kB / 1.345 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/1.081, allocations: 14.27 kB / 1.345 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/1.081, allocations: 8.188 kB / 1.345 GB, free: 12.32 MB / 1.061 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.627e-05/1.081, allocations: 125.1 kB / 1.346 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.764e-05/1.081, allocations: 8.938 kB / 1.346 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002684/1.082, allocations: 92.98 kB / 1.346 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/1.082, allocations: 2.281 kB / 1.346 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/1.082, allocations: 1.094 kB / 1.346 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/1.082, allocations: 0.6094 kB / 1.346 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/1.082, allocations: 204 kB / 1.346 GB, free: 11.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/1.082, allocations: 3.938 kB / 1.346 GB, free: 11.92 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/1.082, allocations: 22.42 kB / 1.346 GB, free: 11.92 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/1.082, allocations: 1.031 kB / 1.346 GB, free: 11.92 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/1.082, allocations: 7.75 kB / 1.346 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/1.082, allocations: 1.828 kB / 1.346 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.082, allocations: 5 kB / 1.346 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000379/1.082, allocations: 373.5 kB / 1.346 GB, free: 11.6 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.58e-05/1.082, allocations: 88.48 kB / 1.346 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/1.082, allocations: 6.828 kB / 1.346 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/1.083, allocations: 17.56 kB / 1.346 GB, free: 11.49 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.933e-05/1.083, allocations: 30.91 kB / 1.346 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/1.083, allocations: 7.641 kB / 1.346 GB, free: 11.48 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.346e-05/1.083, allocations: 110.5 kB / 1.346 GB, free: 11.39 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.083, allocations: 0 / 1.346 GB, free: 11.39 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003179/1.083, allocations: 18.88 kB / 1.347 GB, free: 11.39 MB / 1.061 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.0006025/1.084, allocations: 0.9045 MB / 1.347 GB, free: 10.55 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000379/1.084, allocations: 91.92 kB / 1.347 GB, free: 10.54 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.084, allocations: 3.938 kB / 1.347 GB, free: 10.54 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001718/1.084, allocations: 46.39 kB / 1.348 GB, free: 10.53 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004584/1.085, allocations: 14.78 kB / 1.348 GB, free: 10.52 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/1.087, allocations: 1.816 MB / 1.349 GB, free: 8.996 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/1.087, allocations: 0.6989 MB / 1.35 GB, free: 8.301 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.455e-05/1.087, allocations: 16.69 kB / 1.35 GB, free: 8.297 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.843e-05/1.087, allocations: 39.75 kB / 1.35 GB, free: 8.27 MB / 1.061 GB Notification: Performance of SimCode: time 6.91e-07/1.087, allocations: 0 / 1.35 GB, free: 8.27 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0205/1.107, allocations: 2.765 MB / 1.353 GB, free: 7.801 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.619/9.726, allocations: 10.16 kB / 1.353 GB, free: 7.797 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.40634966600919] Failed to read output from testmodel.py, exit status != 0: 9.854263857996557 9.874432518 8.795908656 Calling exit ...