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.001329/0.001329, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001473/0.001473, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.335/3.335, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.002057/0.002057, allocations: 64.67 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3971, allocations: 176.1 MB / 1.327 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002327/0.3994, allocations: 0.8147 MB / 1.327 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.4007, allocations: 0.921 MB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.928e-05/0.4008, allocations: 4 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.005e-05/0.4008, allocations: 7.875 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.4009, allocations: 23.73 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.4011, allocations: 39.94 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.4013, allocations: 119.6 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.4014, allocations: 17.3 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.4016, allocations: 55.84 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.4017, allocations: 63.73 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.4017, allocations: 8 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.828e-05/0.4018, allocations: 12 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.133e-05/0.4018, allocations: 23.92 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.469e-05/0.4019, allocations: 39.8 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.4021, allocations: 131.6 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.4021, allocations: 0 / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4021, allocations: 0 / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.4021, allocations: 0 / 1.329 GB, free: 15.17 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.0006818/0.4027, allocations: 379.1 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.4028, allocations: 12.03 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.116e-05/0.4028, allocations: 8.188 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.903e-05/0.4028, allocations: 38.75 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002516/0.4031, allocations: 28.86 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004731/0.4036, allocations: 192.2 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.4036, allocations: 4.375 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.4036, allocations: 12.38 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/0.4039, allocations: 121.3 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.4039, allocations: 3.984 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.4039, allocations: 3.938 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.4039, allocations: 4 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002817/0.4042, allocations: 79.86 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006211/0.4048, allocations: 460.2 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.4051, allocations: 111.8 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.4053, allocations: 54.61 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.4053, allocations: 7.984 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.4053, allocations: 30.56 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.4053, allocations: 3.938 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0006136/0.4059, allocations: 169.6 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.225e-05/0.406, allocations: 106.8 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.4061, allocations: 144.5 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.4062, allocations: 29.7 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.745e-05/0.4062, allocations: 112.2 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/0.4063, allocations: 31.84 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.007e-05/0.4063, allocations: 25.72 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.4065, allocations: 326.8 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.4066, allocations: 39.95 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.4069, allocations: 170.2 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.4071, allocations: 90.45 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4071, allocations: 0 / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003752/0.4075, allocations: 137.5 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.4075, allocations: 4 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.4075, allocations: 4 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.4076, allocations: 0 / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.4077, allocations: 19.97 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.4077, allocations: 7.938 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.4078, allocations: 19.94 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.4079, allocations: 7.938 kB / 1.332 GB, free: 11.94 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.0001144/0.408, allocations: 127.7 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.035e-05/0.408, allocations: 12.02 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000277/0.4083, allocations: 93.97 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.4083, allocations: 0 / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4083, allocations: 0 / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.4083, allocations: 0 / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003162/0.4087, allocations: 168.6 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.4087, allocations: 7.984 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.4088, allocations: 23.92 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4088, allocations: 0 / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.4088, allocations: 4 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4088, allocations: 0 / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.4088, allocations: 0 / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004788/0.4093, allocations: 377.8 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.901e-05/0.4093, allocations: 11.89 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.4093, allocations: 12 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.4095, allocations: 11.98 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.729e-05/0.4096, allocations: 27.89 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.4096, allocations: 3.984 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.465e-05/0.4097, allocations: 116.7 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4097, allocations: 0 / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003358/0.4101, allocations: 15.95 kB / 1.333 GB, free: 10.86 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.0008031/0.4109, allocations: 0.9063 MB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003732/0.4112, allocations: 95.86 kB / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4112, allocations: 0 / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.4114, allocations: 56.02 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004854/0.4119, allocations: 11.94 kB / 1.334 GB, free: 9.77 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002431/0.4143, allocations: 1.8 MB / 1.336 GB, free: 7.863 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.554e-05/0.4144, allocations: 88.19 kB / 1.336 GB, free: 7.758 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.506e-05/0.4145, allocations: 16.64 kB / 1.336 GB, free: 7.742 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.726e-05/0.4146, allocations: 31.42 kB / 1.336 GB, free: 7.711 MB / 1.029 GB Notification: Performance of SimCode: time 6.82e-07/0.4146, allocations: 0 / 1.336 GB, free: 7.711 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02382/0.4384, allocations: 2.961 MB / 1.339 GB, free: 4.922 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.88, allocations: 15.5 kB / 1.339 GB, free: 4.91 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.87564863206353] Failed to read output from testmodel.py, exit status != 0: 12.040503582917154 12.056552064 11.651464199 Calling exit ...