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.001931/0.001931, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.002094/0.002094, allocations: 218.8 kB / 23.04 MB, free: 5.074 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.28/3.28, allocations: 0.49 GB / 0.7959 GB, free: 33.26 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="Buildings_12_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.001971/0.001971, allocations: 68.36 kB / 1.155 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3638, allocations: 176.1 MB / 1.327 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002594/0.3664, allocations: 0.8612 MB / 1.328 GB, free: 1.07 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.3678, allocations: 0.925 MB / 1.328 GB, free: 136 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.662e-05/0.3678, allocations: 4 kB / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.819e-05/0.3679, allocations: 11.86 kB / 1.328 GB, free: 120 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.368, allocations: 19.73 kB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002613/0.3683, allocations: 39.95 kB / 1.329 GB, free: 60 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002725/0.3685, allocations: 119.6 kB / 1.329 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.3687, allocations: 21.3 kB / 1.329 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002121/0.3689, allocations: 59.83 kB / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.369, allocations: 51.77 kB / 1.329 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.369, allocations: 12 kB / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.308e-05/0.3691, allocations: 15.94 kB / 1.329 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.857e-05/0.3691, allocations: 27.86 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.794e-05/0.3691, allocations: 51.7 kB / 1.329 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.3694, allocations: 123.7 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3694, allocations: 0 / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3694, allocations: 0 / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.3694, allocations: 0 / 1.329 GB, free: 15.58 MB / 1.029 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.000732/0.3701, allocations: 373.7 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.3702, allocations: 8.031 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.642e-05/0.3702, allocations: 4.188 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.215e-05/0.3702, allocations: 42.73 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002583/0.3705, allocations: 28.88 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004867/0.371, allocations: 199.4 kB / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.371, allocations: 4.312 kB / 1.33 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.371, allocations: 12.38 kB / 1.33 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003234/0.3713, allocations: 124.3 kB / 1.33 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3713, allocations: 0 / 1.33 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.3713, allocations: 0 / 1.33 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.3714, allocations: 4 kB / 1.33 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000284/0.3716, allocations: 71.88 kB / 1.33 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007228/0.3724, allocations: 480.1 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002774/0.3726, allocations: 119.8 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.3728, allocations: 46.61 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.3728, allocations: 3.938 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.3729, allocations: 42.55 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.3729, allocations: 4 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0006367/0.3735, allocations: 157.4 kB / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.741e-05/0.3736, allocations: 106.8 kB / 1.331 GB, free: 13.58 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.3737, allocations: 152.5 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.3738, allocations: 29.7 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.068e-05/0.3738, allocations: 112.2 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.975e-05/0.3739, allocations: 27.78 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.93e-05/0.3739, allocations: 25.72 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.3741, allocations: 326.8 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.3743, allocations: 39.95 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.3744, allocations: 85.06 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003095/0.3748, allocations: 98.44 kB / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3748, allocations: 4 kB / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003896/0.3752, allocations: 133.5 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.3752, allocations: 8 kB / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3752, allocations: 0 / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3752, allocations: 0 / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.3753, allocations: 31.84 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.3754, allocations: 0 / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.3755, allocations: 20.27 kB / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.3755, allocations: 11.94 kB / 1.332 GB, free: 12.43 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.0001213/0.3756, allocations: 118.4 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.364e-05/0.3757, allocations: 11.94 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003515/0.376, allocations: 93.92 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.3761, allocations: 4 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.3761, allocations: 7.984 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3761, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003922/0.3765, allocations: 176.7 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3765, allocations: 0 / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.3766, allocations: 15.98 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.3766, allocations: 4 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.3766, allocations: 3.984 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3766, allocations: 0 / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.3766, allocations: 4 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005097/0.3771, allocations: 369.9 kB / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.396e-05/0.3771, allocations: 11.89 kB / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.3772, allocations: 7.984 kB / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.3774, allocations: 15.98 kB / 1.333 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.874e-05/0.3774, allocations: 27.89 kB / 1.333 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.3775, allocations: 8.062 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.813e-05/0.3776, allocations: 121 kB / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3776, allocations: 0 / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003181/0.3779, allocations: 15.95 kB / 1.333 GB, free: 11.35 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.0008625/0.3787, allocations: 0.9024 MB / 1.334 GB, free: 10.42 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004201/0.3792, allocations: 99.86 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3792, allocations: 0 / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.3793, allocations: 47.91 kB / 1.334 GB, free: 10.28 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005833/0.3799, allocations: 22.67 kB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002974/0.3829, allocations: 1.8 MB / 1.336 GB, free: 8.352 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.3833, allocations: 0.7002 MB / 1.336 GB, free: 7.625 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.055e-05/0.3833, allocations: 16.64 kB / 1.336 GB, free: 7.609 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.26e-05/0.3834, allocations: 39.41 kB / 1.336 GB, free: 7.57 MB / 1.029 GB Notification: Performance of SimCode: time 1.523e-06/0.3834, allocations: 4 kB / 1.336 GB, free: 7.566 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02504/0.4085, allocations: 2.878 MB / 1.339 GB, free: 4.84 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.85, allocations: 8.828 kB / 1.339 GB, free: 4.836 MB / 1.029 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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] [Calling os._exit(0), Time elapsed: 18.83922658400843] Failed to read output from testmodel.py, exit status != 0: 12.013130201026797 12.030454319 11.657786082 Calling exit ...