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: 118.8 kB / 17.16 MB, free: 5.914 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.002235/0.002235, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.527/1.527, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.882/2.882, allocations: 476.7 MB / 0.7678 GB, free: 9.418 MB / 0.6075 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.002/0.002, allocations: 67.91 kB / 1.113 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.159/1.161, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002197/1.163, allocations: 0.853 MB / 1.28 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001337/1.165, allocations: 0.9239 MB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.929e-05/1.165, allocations: 1.125 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.812e-05/1.165, allocations: 10.59 kB / 1.281 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/1.165, allocations: 23.19 kB / 1.281 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/1.165, allocations: 39.7 kB / 1.281 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001666/1.165, allocations: 115.1 kB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/1.165, allocations: 16.7 kB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000208/1.166, allocations: 65.33 kB / 1.281 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/1.166, allocations: 53.2 kB / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/1.166, allocations: 9.406 kB / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.601e-05/1.166, allocations: 16.19 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.225e-05/1.166, allocations: 28.72 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.623e-05/1.166, allocations: 52.16 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002205/1.166, allocations: 124.2 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.166, allocations: 0 / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.754e-06/1.166, allocations: 0 / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.641e-06/1.166, allocations: 1.094 kB / 1.281 GB, free: 10.22 MB / 0.9981 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.0008166/1.167, allocations: 447.4 kB / 1.282 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/1.167, allocations: 10.14 kB / 1.282 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.494e-05/1.167, allocations: 5.25 kB / 1.282 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.269e-05/1.167, allocations: 42.31 kB / 1.282 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002579/1.167, allocations: 29.16 kB / 1.282 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005368/1.168, allocations: 248.8 kB / 1.282 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/1.168, allocations: 8.719 kB / 1.282 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/1.168, allocations: 17.31 kB / 1.282 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003317/1.168, allocations: 119.7 kB / 1.282 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/1.168, allocations: 0 / 1.282 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/1.168, allocations: 5.062 kB / 1.282 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/1.168, allocations: 1.719 kB / 1.282 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003327/1.169, allocations: 77.91 kB / 1.282 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007298/1.169, allocations: 0.495 MB / 1.283 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003185/1.17, allocations: 110.5 kB / 1.283 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/1.17, allocations: 52.7 kB / 1.283 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/1.17, allocations: 5.5 kB / 1.283 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/1.17, allocations: 36.95 kB / 1.283 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/1.17, allocations: 0.5625 kB / 1.283 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0006607/1.171, allocations: 166.2 kB / 1.283 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.139e-05/1.171, allocations: 104.9 kB / 1.283 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/1.171, allocations: 149 kB / 1.283 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/1.171, allocations: 28.38 kB / 1.283 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.714e-05/1.171, allocations: 109.1 kB / 1.283 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/1.171, allocations: 26.77 kB / 1.283 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.568e-05/1.171, allocations: 25.28 kB / 1.284 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001623/1.171, allocations: 333.5 kB / 1.284 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/1.171, allocations: 40.25 kB / 1.284 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/1.171, allocations: 83.92 kB / 1.284 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/1.172, allocations: 93.94 kB / 1.284 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/1.172, allocations: 1 kB / 1.284 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003883/1.172, allocations: 136.5 kB / 1.284 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/1.172, allocations: 8.219 kB / 1.284 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/1.172, allocations: 1.062 kB / 1.284 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/1.172, allocations: 9.219 kB / 1.284 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/1.172, allocations: 22.8 kB / 1.284 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/1.172, allocations: 5.641 kB / 1.284 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/1.173, allocations: 22.83 kB / 1.284 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/1.173, allocations: 7.828 kB / 1.284 GB, free: 7.773 MB / 0.9981 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.0001184/1.173, allocations: 123 kB / 1.284 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.756e-05/1.173, allocations: 13.5 kB / 1.284 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002861/1.173, allocations: 92.73 kB / 1.284 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/1.173, allocations: 1.562 kB / 1.284 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.173, allocations: 2.125 kB / 1.284 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/1.173, allocations: 0 / 1.284 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003392/1.173, allocations: 198.8 kB / 1.285 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/1.173, allocations: 2.031 kB / 1.285 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/1.173, allocations: 26.05 kB / 1.285 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/1.173, allocations: 5.375 kB / 1.285 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/1.173, allocations: 2.75 kB / 1.285 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/1.173, allocations: 5.266 kB / 1.285 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.173, allocations: 5.906 kB / 1.285 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005138/1.174, allocations: 375.8 kB / 1.285 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.967e-05/1.174, allocations: 86.08 kB / 1.285 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/1.174, allocations: 2.062 kB / 1.285 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/1.174, allocations: 18.03 kB / 1.285 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.147e-05/1.174, allocations: 26.84 kB / 1.285 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/1.174, allocations: 4.812 kB / 1.285 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.247e-05/1.174, allocations: 113.8 kB / 1.285 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.174, allocations: 0 / 1.285 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003118/1.175, allocations: 17.72 kB / 1.285 GB, free: 6.844 MB / 0.9981 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.0008407/1.176, allocations: 0.9113 MB / 1.286 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004014/1.176, allocations: 91.47 kB / 1.286 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.176, allocations: 0 / 1.286 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001794/1.176, allocations: 53.78 kB / 1.286 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004632/1.177, allocations: 14.66 kB / 1.286 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002389/1.179, allocations: 1.812 MB / 1.288 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/1.179, allocations: 0.7025 MB / 1.289 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.668e-05/1.18, allocations: 21.72 kB / 1.289 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.676e-05/1.18, allocations: 36.41 kB / 1.289 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/1.18, allocations: 0 / 1.289 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/1.201, allocations: 2.762 MB / 1.292 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.376/9.577, allocations: 18.42 kB / 1.292 GB, free: 3.227 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.07725744904019] Failed to read output from testmodel.py, exit status != 0: 9.708199428976513 9.735900055 8.565170253 Calling exit ...