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.001822/0.001822, allocations: 113.5 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.002031/0.002031, allocations: 217.1 kB / 23.04 MB, free: 5.078 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.871/2.871, allocations: 476.7 MB / 0.7715 GB, free: 4.289 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="Buildings_11_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.002056/0.002056, allocations: 64.28 kB / 1.118 GB, free: 40.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4055, allocations: 170 MB / 1.284 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002735/0.4083, allocations: 0.8559 MB / 1.285 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001979/0.4103, allocations: 0.925 MB / 1.286 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.485e-05/0.4103, allocations: 0 / 1.286 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.586e-05/0.4104, allocations: 11.86 kB / 1.286 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.4105, allocations: 15.81 kB / 1.286 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.4108, allocations: 47.88 kB / 1.286 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.4111, allocations: 115.7 kB / 1.286 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.4112, allocations: 21.3 kB / 1.286 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002363/0.4114, allocations: 59.77 kB / 1.286 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.4116, allocations: 63.69 kB / 1.286 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.862e-05/0.4116, allocations: 8 kB / 1.286 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.855e-05/0.4117, allocations: 12 kB / 1.286 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.88e-05/0.4117, allocations: 23.92 kB / 1.286 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.705e-05/0.4117, allocations: 51.72 kB / 1.286 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.412, allocations: 128.1 kB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.412, allocations: 0 / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.483e-06/0.412, allocations: 0 / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.412, allocations: 4 kB / 1.286 GB, free: 9.387 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.0007745/0.4128, allocations: 365.7 kB / 1.287 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.175e-05/0.4128, allocations: 8.031 kB / 1.287 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.822e-05/0.4129, allocations: 4.188 kB / 1.287 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.367e-05/0.4129, allocations: 38.73 kB / 1.287 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002821/0.4132, allocations: 36.81 kB / 1.287 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005262/0.4137, allocations: 194.4 kB / 1.287 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.4137, allocations: 8.375 kB / 1.287 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.4138, allocations: 4.375 kB / 1.287 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/0.4141, allocations: 124.2 kB / 1.287 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.4141, allocations: 0 / 1.287 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.4141, allocations: 11.94 kB / 1.287 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.4141, allocations: 0 / 1.287 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003035/0.4144, allocations: 79.86 kB / 1.287 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008437/0.4153, allocations: 472.2 kB / 1.288 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.4156, allocations: 111.8 kB / 1.288 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.4157, allocations: 56.31 kB / 1.288 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.4158, allocations: 0 / 1.288 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.4158, allocations: 46.55 kB / 1.288 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.4158, allocations: 0 / 1.288 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0006758/0.4165, allocations: 157.4 kB / 1.288 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.671e-05/0.4165, allocations: 110.8 kB / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.4167, allocations: 149.3 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/0.4167, allocations: 33.7 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.556e-05/0.4168, allocations: 108.2 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.035e-05/0.4169, allocations: 27.91 kB / 1.289 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.343e-05/0.4169, allocations: 25.72 kB / 1.289 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.4171, allocations: 326.8 kB / 1.289 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.4173, allocations: 39.95 kB / 1.289 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.4175, allocations: 81.12 kB / 1.289 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003079/0.4178, allocations: 94.44 kB / 1.289 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4178, allocations: 4 kB / 1.289 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000415/0.4182, allocations: 137.8 kB / 1.289 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.4182, allocations: 4 kB / 1.289 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4182, allocations: 3.938 kB / 1.289 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.4182, allocations: 8.031 kB / 1.289 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.4184, allocations: 19.97 kB / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.4184, allocations: 0 / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.4185, allocations: 31.88 kB / 1.289 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.4185, allocations: 3.938 kB / 1.289 GB, free: 6.246 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.0001273/0.4187, allocations: 121.8 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.918e-05/0.4187, allocations: 7.953 kB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002804/0.419, allocations: 89.98 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.419, allocations: 4 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.419, allocations: 7.984 kB / 1.289 GB, free: 6 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.419, allocations: 0 / 1.289 GB, free: 6 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/0.4194, allocations: 168.6 kB / 1.29 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4194, allocations: 0 / 1.29 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.4195, allocations: 19.98 kB / 1.29 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/0.4195, allocations: 8 kB / 1.29 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.4195, allocations: 3.984 kB / 1.29 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4195, allocations: 0 / 1.29 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.4195, allocations: 4 kB / 1.29 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000523/0.42, allocations: 377.8 kB / 1.29 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.214e-05/0.42, allocations: 11.89 kB / 1.29 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.4201, allocations: 7.984 kB / 1.29 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.4203, allocations: 15.98 kB / 1.29 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.771e-05/0.4204, allocations: 35.83 kB / 1.29 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.4204, allocations: 0 / 1.29 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001008/0.4205, allocations: 111.2 kB / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4205, allocations: 0 / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003266/0.4208, allocations: 16 kB / 1.29 GB, free: 5.176 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.0008559/0.4217, allocations: 0.9023 MB / 1.291 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003938/0.4221, allocations: 99.92 kB / 1.291 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4221, allocations: 3.938 kB / 1.291 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001803/0.4222, allocations: 43.97 kB / 1.291 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004842/0.4227, allocations: 19.92 kB / 1.291 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/0.4254, allocations: 1.797 MB / 1.293 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.4258, allocations: 0.6963 MB / 1.294 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.772e-05/0.4258, allocations: 16.97 kB / 1.294 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.4259, allocations: 43.39 kB / 1.294 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of SimCode: time 1.133e-06/0.4259, allocations: 4 kB / 1.294 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02882/0.4548, allocations: 2.88 MB / 1.297 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.94, allocations: 10.22 kB / 1.297 GB, free: 14.66 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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] [Calling os._exit(0), Time elapsed: 18.773929218004923] Failed to read output from testmodel.py, exit status != 0: 12.649523172003683 12.142109988 11.724584883 Calling exit ...