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.002005/0.002005, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002676/0.002676, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.586/1.586, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.945/2.945, allocations: 0.49 GB / 0.7923 GB, free: 1.508 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.00218/0.00218, allocations: 67.89 kB / 1.15 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9961/0.9983, allocations: 176.1 MB / 1.322 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001904/1, allocations: 0.8587 MB / 1.322 GB, free: 24.19 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009009/1.001, allocations: 0.919 MB / 1.323 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.309e-05/1.001, allocations: 2.812 kB / 1.323 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.646e-05/1.001, allocations: 11.2 kB / 1.323 GB, free: 23.49 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000108/1.001, allocations: 22.73 kB / 1.323 GB, free: 23.47 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/1.002, allocations: 47.06 kB / 1.323 GB, free: 23.44 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001302/1.002, allocations: 112 kB / 1.323 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/1.002, allocations: 17.81 kB / 1.323 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/1.002, allocations: 62.75 kB / 1.324 GB, free: 23.35 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.731e-05/1.002, allocations: 57.02 kB / 1.324 GB, free: 23.32 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/1.002, allocations: 10.12 kB / 1.324 GB, free: 23.32 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.959e-05/1.002, allocations: 11.06 kB / 1.324 GB, free: 23.32 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.335e-05/1.002, allocations: 29.19 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.742e-05/1.002, allocations: 53.19 kB / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001663/1.002, allocations: 120.9 kB / 1.324 GB, free: 23.22 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/1.002, allocations: 0 / 1.324 GB, free: 23.22 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.252e-06/1.002, allocations: 3.938 kB / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.683e-06/1.002, allocations: 3.938 kB / 1.324 GB, free: 23.21 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.0006461/1.003, allocations: 451.4 kB / 1.324 GB, free: 22.8 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/1.003, allocations: 12.17 kB / 1.324 GB, free: 22.79 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.969e-05/1.003, allocations: 7.094 kB / 1.324 GB, free: 22.79 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.738e-05/1.003, allocations: 33.56 kB / 1.324 GB, free: 22.75 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002477/1.003, allocations: 38.47 kB / 1.324 GB, free: 22.74 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000423/1.004, allocations: 257.1 kB / 1.325 GB, free: 22.52 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/1.004, allocations: 6.781 kB / 1.325 GB, free: 22.51 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/1.004, allocations: 5.188 kB / 1.325 GB, free: 22.51 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/1.004, allocations: 129.9 kB / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/1.004, allocations: 0 / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/1.004, allocations: 6.969 kB / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/1.004, allocations: 0 / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002662/1.004, allocations: 80.48 kB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004923/1.005, allocations: 0.4955 MB / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/1.005, allocations: 102.3 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/1.005, allocations: 59.06 kB / 1.325 GB, free: 21.81 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/1.005, allocations: 8 kB / 1.325 GB, free: 21.8 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.378e-05/1.005, allocations: 33.41 kB / 1.325 GB, free: 21.76 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/1.005, allocations: 0 / 1.325 GB, free: 21.76 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0006077/1.006, allocations: 162.3 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/1.006, allocations: 105.4 kB / 1.326 GB, free: 21.57 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.838e-05/1.006, allocations: 151.7 kB / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/1.006, allocations: 32.17 kB / 1.326 GB, free: 21.43 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.761e-05/1.006, allocations: 105.2 kB / 1.326 GB, free: 21.32 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/1.006, allocations: 25.64 kB / 1.326 GB, free: 21.3 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.976e-05/1.006, allocations: 30.31 kB / 1.326 GB, free: 21.28 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.727e-05/1.006, allocations: 328.4 kB / 1.326 GB, free: 20.96 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/1.006, allocations: 38.22 kB / 1.326 GB, free: 20.95 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/1.007, allocations: 87.59 kB / 1.326 GB, free: 20.89 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/1.007, allocations: 89.38 kB / 1.327 GB, free: 20.84 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.007, allocations: 0 / 1.327 GB, free: 20.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003343/1.007, allocations: 140.2 kB / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/1.007, allocations: 9.219 kB / 1.327 GB, free: 20.78 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/1.007, allocations: 0 / 1.327 GB, free: 20.78 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/1.007, allocations: 3.094 kB / 1.327 GB, free: 20.78 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/1.007, allocations: 17.83 kB / 1.327 GB, free: 20.78 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/1.007, allocations: 2.562 kB / 1.327 GB, free: 20.78 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/1.007, allocations: 22.02 kB / 1.327 GB, free: 20.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/1.007, allocations: 10 kB / 1.327 GB, free: 20.77 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.926e-05/1.008, allocations: 122.9 kB / 1.327 GB, free: 20.64 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.553e-05/1.008, allocations: 17.22 kB / 1.327 GB, free: 20.63 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/1.008, allocations: 93.92 kB / 1.327 GB, free: 20.57 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/1.008, allocations: 2.844 kB / 1.327 GB, free: 20.57 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/1.008, allocations: 0 / 1.327 GB, free: 20.57 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/1.008, allocations: 0 / 1.327 GB, free: 20.57 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000261/1.008, allocations: 206.8 kB / 1.327 GB, free: 20.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/1.008, allocations: 0 / 1.327 GB, free: 20.36 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/1.008, allocations: 28.05 kB / 1.327 GB, free: 20.35 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/1.008, allocations: 2.906 kB / 1.327 GB, free: 20.35 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/1.008, allocations: 4 kB / 1.327 GB, free: 20.35 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/1.008, allocations: 2.812 kB / 1.327 GB, free: 20.35 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/1.008, allocations: 0 / 1.327 GB, free: 20.35 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/1.009, allocations: 376.2 kB / 1.328 GB, free: 20.04 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.767e-05/1.009, allocations: 83.62 kB / 1.328 GB, free: 19.94 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/1.009, allocations: 2.531 kB / 1.328 GB, free: 19.94 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/1.009, allocations: 14.23 kB / 1.328 GB, free: 19.94 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.994e-05/1.009, allocations: 35.69 kB / 1.328 GB, free: 19.93 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/1.009, allocations: 2.812 kB / 1.328 GB, free: 19.93 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.167e-05/1.009, allocations: 112.9 kB / 1.328 GB, free: 19.84 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.009, allocations: 0 / 1.328 GB, free: 19.84 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003159/1.009, allocations: 20.98 kB / 1.328 GB, free: 19.83 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.0006254/1.01, allocations: 0.9002 MB / 1.329 GB, free: 19 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004085/1.01, allocations: 96.09 kB / 1.329 GB, free: 18.98 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.01, allocations: 0 / 1.329 GB, free: 18.98 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001961/1.011, allocations: 57.98 kB / 1.329 GB, free: 18.96 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005219/1.011, allocations: 15.5 kB / 1.329 GB, free: 18.96 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/1.013, allocations: 1.807 MB / 1.331 GB, free: 17.45 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001607/1.013, allocations: 0.7052 MB / 1.331 GB, free: 16.74 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.56e-05/1.013, allocations: 15.8 kB / 1.331 GB, free: 16.73 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.3e-05/1.013, allocations: 37.84 kB / 1.331 GB, free: 16.71 MB / 1.061 GB Notification: Performance of SimCode: time 9.52e-07/1.013, allocations: 0 / 1.331 GB, free: 16.71 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0201/1.034, allocations: 2.761 MB / 1.334 GB, free: 16.23 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.637/9.671, allocations: 15.22 kB / 1.334 GB, free: 16.23 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.23044579499401] Failed to read output from testmodel.py, exit status != 0: 9.802068279997911 9.823910628 8.817423167 Calling exit ...