Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001578/0.001578, allocations: 97.88 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.001872/0.001872, allocations: 215.3 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.236/3.236, allocations: 0.5003 GB / 0.8062 GB, free: 28.25 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="Buildings_latest_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.00203/0.00203, allocations: 65.97 kB / 1.171 GB, free: 19.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3769, allocations: 179 MB / 1.345 GB, free: 15.86 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002267/0.3792, allocations: 0.8154 MB / 1.346 GB, free: 15.05 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.3805, allocations: 0.9094 MB / 1.347 GB, free: 14.12 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.621e-05/0.3806, allocations: 4 kB / 1.347 GB, free: 14.12 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.122e-05/0.3806, allocations: 7.875 kB / 1.347 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.3807, allocations: 23.73 kB / 1.347 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.381, allocations: 39.94 kB / 1.347 GB, free: 14.05 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000169/0.3811, allocations: 111.6 kB / 1.347 GB, free: 13.94 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.3812, allocations: 32.97 kB / 1.347 GB, free: 13.91 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002018/0.3814, allocations: 55.84 kB / 1.347 GB, free: 13.86 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.3815, allocations: 55.75 kB / 1.347 GB, free: 13.8 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.3816, allocations: 11.94 kB / 1.347 GB, free: 13.79 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.622e-05/0.3816, allocations: 16 kB / 1.347 GB, free: 13.77 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.589e-05/0.3817, allocations: 31.91 kB / 1.347 GB, free: 13.74 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.7e-05/0.3817, allocations: 47.72 kB / 1.347 GB, free: 13.7 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.3819, allocations: 123.7 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.3819, allocations: 0 / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.012e-06/0.3819, allocations: 0 / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.382, allocations: 3.938 kB / 1.348 GB, free: 13.57 MB / 1.045 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.000729/0.3827, allocations: 369.7 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3827, allocations: 8.031 kB / 1.348 GB, free: 13.17 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.454e-05/0.3827, allocations: 8.188 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.784e-05/0.3828, allocations: 34.75 kB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002694/0.383, allocations: 36.81 kB / 1.348 GB, free: 13.08 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006038/0.3836, allocations: 190.4 kB / 1.348 GB, free: 12.87 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.3837, allocations: 8.375 kB / 1.348 GB, free: 12.86 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.3837, allocations: 12.38 kB / 1.348 GB, free: 12.85 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/0.384, allocations: 118.4 kB / 1.348 GB, free: 12.72 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.384, allocations: 0 / 1.348 GB, free: 12.72 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.384, allocations: 4 kB / 1.348 GB, free: 12.72 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.384, allocations: 4 kB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000274/0.3843, allocations: 71.86 kB / 1.348 GB, free: 12.64 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000771/0.3851, allocations: 468.2 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.3853, allocations: 111.8 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.3855, allocations: 50.61 kB / 1.349 GB, free: 11.94 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.3855, allocations: 4 kB / 1.349 GB, free: 11.94 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.3856, allocations: 38.55 kB / 1.349 GB, free: 11.89 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.3856, allocations: 4 kB / 1.349 GB, free: 11.89 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0006705/0.3862, allocations: 161.4 kB / 1.349 GB, free: 11.72 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.567e-05/0.3863, allocations: 102.8 kB / 1.349 GB, free: 11.6 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.3865, allocations: 152.5 kB / 1.349 GB, free: 11.44 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.3865, allocations: 25.7 kB / 1.349 GB, free: 11.41 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.3866, allocations: 124.6 kB / 1.35 GB, free: 11.28 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/0.3867, allocations: 27.78 kB / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.645e-05/0.3867, allocations: 21.72 kB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.3869, allocations: 330.8 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.3871, allocations: 39.95 kB / 1.35 GB, free: 10.86 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/0.3873, allocations: 162.2 kB / 1.35 GB, free: 10.66 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003638/0.3877, allocations: 94.45 kB / 1.35 GB, free: 10.56 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3877, allocations: 4 kB / 1.35 GB, free: 10.55 MB / 1.045 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003844/0.388, allocations: 137.5 kB / 1.35 GB, free: 10.41 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.3881, allocations: 4 kB / 1.35 GB, free: 10.41 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.3881, allocations: 4 kB / 1.35 GB, free: 10.41 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.3881, allocations: 0 / 1.35 GB, free: 10.41 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.3883, allocations: 27.91 kB / 1.35 GB, free: 10.38 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.3883, allocations: 4 kB / 1.35 GB, free: 10.38 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.3884, allocations: 15.92 kB / 1.35 GB, free: 10.36 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.3885, allocations: 7.938 kB / 1.35 GB, free: 10.35 MB / 1.045 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.0001196/0.3886, allocations: 117.8 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.159e-05/0.3887, allocations: 19.89 kB / 1.351 GB, free: 10.21 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003029/0.389, allocations: 89.92 kB / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.389, allocations: 4 kB / 1.351 GB, free: 10.1 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.389, allocations: 0 / 1.351 GB, free: 10.1 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.389, allocations: 0 / 1.351 GB, free: 10.1 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000329/0.3893, allocations: 160.7 kB / 1.351 GB, free: 9.902 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.3893, allocations: 4 kB / 1.351 GB, free: 9.898 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.3894, allocations: 19.97 kB / 1.351 GB, free: 9.879 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.3894, allocations: 0 / 1.351 GB, free: 9.879 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.3894, allocations: 4 kB / 1.351 GB, free: 9.875 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.3894, allocations: 4.062 kB / 1.351 GB, free: 9.871 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.3894, allocations: 3.984 kB / 1.351 GB, free: 9.867 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005332/0.39, allocations: 386.2 kB / 1.351 GB, free: 9.473 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.586e-05/0.39, allocations: 15.84 kB / 1.351 GB, free: 9.457 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/0.39, allocations: 0 / 1.351 GB, free: 9.457 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.3903, allocations: 15.98 kB / 1.351 GB, free: 9.441 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.891e-05/0.3903, allocations: 31.88 kB / 1.351 GB, free: 9.41 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.3904, allocations: 7.984 kB / 1.351 GB, free: 9.402 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.297e-05/0.3905, allocations: 113.5 kB / 1.351 GB, free: 9.293 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3905, allocations: 0 / 1.351 GB, free: 9.293 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003236/0.3908, allocations: 16 kB / 1.351 GB, free: 9.277 MB / 1.045 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.0008938/0.3917, allocations: 0.8945 MB / 1.352 GB, free: 8.355 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003895/0.3921, allocations: 95.86 kB / 1.352 GB, free: 8.262 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.3921, allocations: 7.938 kB / 1.352 GB, free: 8.254 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.3923, allocations: 51.89 kB / 1.352 GB, free: 8.203 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005097/0.3928, allocations: 11.94 kB / 1.352 GB, free: 8.191 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002682/0.3954, allocations: 1.797 MB / 1.354 GB, free: 6.285 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.3956, allocations: 88.25 kB / 1.354 GB, free: 6.176 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 8.415e-05/0.3957, allocations: 20.42 kB / 1.354 GB, free: 6.156 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.3958, allocations: 35.42 kB / 1.354 GB, free: 6.121 MB / 1.045 GB Notification: Performance of SimCode: time 2.8e-07/0.3958, allocations: 0 / 1.354 GB, free: 6.121 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02531/0.4211, allocations: 2.962 MB / 1.357 GB, free: 3.316 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.07, allocations: 10.31 kB / 1.357 GB, free: 3.312 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.915282714995556] Failed to read output from testmodel.py, exit status != 0: 12.237474270979874 12.265673374 11.878929074 Calling exit ...