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.00185/0.00185, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.002188/0.002188, allocations: 209.8 kB / 23.03 MB, free: 4.43 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.802/2.802, allocations: 476.8 MB / 0.7715 GB, free: 3.922 MB / 0.6231 GB " [Timeout remaining time 177] 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.001989/0.001989, allocations: 64.55 kB / 1.118 GB, free: 39.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3613, allocations: 170 MB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002209/0.3635, allocations: 0.813 MB / 1.285 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.3648, allocations: 0.9172 MB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.072e-05/0.3649, allocations: 4 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.342e-05/0.3649, allocations: 11.81 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.365, allocations: 15.8 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.3653, allocations: 43.94 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.3654, allocations: 115.6 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.3656, allocations: 22.72 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001909/0.3657, allocations: 59.83 kB / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.3659, allocations: 59.69 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.3659, allocations: 12 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.16e-05/0.3659, allocations: 12 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.523e-05/0.366, allocations: 31.84 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.062e-05/0.366, allocations: 35.8 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.3662, allocations: 127 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3662, allocations: 0 / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3662, allocations: 0 / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.3662, allocations: 0 / 1.286 GB, free: 8.359 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.0007181/0.367, allocations: 377.7 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.367, allocations: 8.031 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.028e-05/0.367, allocations: 4.188 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.652e-05/0.3671, allocations: 30.75 kB / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002655/0.3673, allocations: 36.86 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004745/0.3678, allocations: 190.4 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.3678, allocations: 12.36 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.3679, allocations: 4.375 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.3681, allocations: 125.8 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.3682, allocations: 0 / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.3682, allocations: 4 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.3682, allocations: 8 kB / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000283/0.3685, allocations: 75.86 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006502/0.3691, allocations: 460.1 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/0.3694, allocations: 111.8 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.3696, allocations: 56.3 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.3696, allocations: 7.984 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.3696, allocations: 42.56 kB / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.3696, allocations: 0 / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.000641/0.3703, allocations: 165.6 kB / 1.288 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.123e-05/0.3703, allocations: 102.8 kB / 1.288 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.3705, allocations: 152.5 kB / 1.288 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.3705, allocations: 29.7 kB / 1.288 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.068e-05/0.3706, allocations: 108.3 kB / 1.288 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.3707, allocations: 27.73 kB / 1.288 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-05/0.3707, allocations: 33.7 kB / 1.288 GB, free: 6 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3709, allocations: 318.8 kB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.371, allocations: 48.02 kB / 1.289 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/0.3713, allocations: 158.2 kB / 1.289 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002806/0.3715, allocations: 90.45 kB / 1.289 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3715, allocations: 0 / 1.289 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003731/0.3719, allocations: 141.8 kB / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.3719, allocations: 6.5 kB / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3719, allocations: 0 / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/0.372, allocations: 7.984 kB / 1.289 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.3721, allocations: 19.97 kB / 1.289 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3721, allocations: 0 / 1.289 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.3722, allocations: 27.86 kB / 1.289 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.3723, allocations: 7.938 kB / 1.289 GB, free: 5.133 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.0001094/0.3724, allocations: 128.2 kB / 1.289 GB, free: 5 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.167e-05/0.3724, allocations: 11.95 kB / 1.289 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002819/0.3727, allocations: 89.92 kB / 1.289 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.3727, allocations: 4 kB / 1.289 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3727, allocations: 0 / 1.289 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3727, allocations: 0 / 1.289 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.3731, allocations: 164.7 kB / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3731, allocations: 0 / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.3732, allocations: 23.98 kB / 1.29 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.3732, allocations: 0 / 1.29 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.3732, allocations: 4 kB / 1.29 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.3732, allocations: 4 kB / 1.29 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3732, allocations: 4.062 kB / 1.29 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004885/0.3737, allocations: 377.8 kB / 1.29 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.644e-05/0.3737, allocations: 11.89 kB / 1.29 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.3737, allocations: 4 kB / 1.29 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.3739, allocations: 15.98 kB / 1.29 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.043e-05/0.374, allocations: 31.88 kB / 1.29 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.374, allocations: 7.938 kB / 1.29 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.655e-05/0.3741, allocations: 114.5 kB / 1.29 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3741, allocations: 0 / 1.29 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003277/0.3745, allocations: 16 kB / 1.29 GB, free: 4.066 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.0008251/0.3753, allocations: 0.9062 MB / 1.291 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003963/0.3757, allocations: 95.86 kB / 1.291 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3757, allocations: 0 / 1.291 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.3759, allocations: 51.97 kB / 1.291 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004864/0.3763, allocations: 11.94 kB / 1.291 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/0.3787, allocations: 1.797 MB / 1.293 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.903e-05/0.3788, allocations: 88.14 kB / 1.293 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.227e-05/0.3789, allocations: 16.97 kB / 1.293 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.217e-05/0.379, allocations: 35.42 kB / 1.293 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/0.379, allocations: 0 / 1.293 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03138/0.4103, allocations: 2.965 MB / 1.296 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.1, allocations: 7.547 kB / 1.296 GB, free: 14.11 MB / 0.9981 GB " [Timeout remaining time 288] (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.804201527033] Failed to read output from testmodel.py, exit status != 0: 12.811023304006085 12.296602417 11.925151362 Calling exit ...