Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.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.001527/0.001527, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001644/0.001644, allocations: 214.9 kB / 23.04 MB, free: 5.07 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.554/1.554, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.863/2.863, allocations: 476.7 MB / 0.7715 GB, free: 4.25 MB / 0.6231 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.LessThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",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.002047/0.002047, allocations: 62.14 kB / 1.118 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4121/0.4141, allocations: 170 MB / 1.284 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.003505/0.4176, allocations: 0.817 MB / 1.285 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00199/0.4196, allocations: 0.9173 MB / 1.286 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001729/0.4198, allocations: 7.938 kB / 1.286 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001744/0.42, allocations: 11.88 kB / 1.286 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.123e-05/0.4201, allocations: 15.86 kB / 1.286 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002978/0.4204, allocations: 31.91 kB / 1.286 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002242/0.4206, allocations: 75.78 kB / 1.286 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.4207, allocations: 19.98 kB / 1.286 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/0.421, allocations: 39.84 kB / 1.286 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.4211, allocations: 31.78 kB / 1.286 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.4211, allocations: 8 kB / 1.286 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.467e-05/0.4212, allocations: 12 kB / 1.286 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.4212, allocations: 8 kB / 1.286 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.745e-05/0.4213, allocations: 35.78 kB / 1.286 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.4215, allocations: 83.84 kB / 1.286 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4215, allocations: 0 / 1.286 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4215, allocations: 0 / 1.286 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.4215, allocations: 0 / 1.286 GB, free: 9.555 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007697/0.4223, allocations: 319.6 kB / 1.287 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/0.4224, allocations: 12.03 kB / 1.287 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.087e-05/0.4224, allocations: 192 / 1.287 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.912e-05/0.4224, allocations: 46.69 kB / 1.287 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002256/0.4227, allocations: 16.88 kB / 1.287 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000415/0.4231, allocations: 141 kB / 1.287 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.4231, allocations: 12.36 kB / 1.287 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.4231, allocations: 4.375 kB / 1.287 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/0.4233, allocations: 69.92 kB / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.4233, allocations: 0 / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.4234, allocations: 4 kB / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.4234, allocations: 0 / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.4235, allocations: 35.92 kB / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007224/0.4243, allocations: 287.8 kB / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.4245, allocations: 50.59 kB / 1.287 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.785e-05/0.4246, allocations: 21 kB / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.4246, allocations: 0 / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.485e-05/0.4247, allocations: 34.56 kB / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.4247, allocations: 3.938 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003907/0.425, allocations: 77.56 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.061e-05/0.4251, allocations: 51.41 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.4253, allocations: 133.8 kB / 1.288 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.4253, allocations: 29.7 kB / 1.288 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.4255, allocations: 104.1 kB / 1.288 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.4255, allocations: 3.953 kB / 1.288 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.263e-05/0.4255, allocations: 21.7 kB / 1.288 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000225/0.4258, allocations: 322.8 kB / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.849e-05/0.4259, allocations: 19.98 kB / 1.288 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.458e-05/0.4259, allocations: 17.75 kB / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.4261, allocations: 24.84 kB / 1.288 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4261, allocations: 0 / 1.288 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000232/0.4263, allocations: 69.58 kB / 1.288 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.4263, allocations: 4 kB / 1.288 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4263, allocations: 0 / 1.288 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/0.4264, allocations: 3.984 kB / 1.288 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.615e-05/0.4264, allocations: 8 kB / 1.288 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.4265, allocations: 0 / 1.288 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.4266, allocations: 15.92 kB / 1.288 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.4266, allocations: 0 / 1.288 GB, free: 7.438 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.00015/0.4267, allocations: 113.8 kB / 1.288 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.974e-05/0.4268, allocations: 7.953 kB / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.935e-05/0.4268, allocations: 12.33 kB / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.4268, allocations: 4 kB / 1.288 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.4268, allocations: 4.328 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.4268, allocations: 7.875 kB / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.4271, allocations: 148.7 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4271, allocations: 0 / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.426e-05/0.4272, allocations: 4 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.4272, allocations: 3.984 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.4272, allocations: 4 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.919e-06/0.4272, allocations: 7.922 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4272, allocations: 4 kB / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.4275, allocations: 163.4 kB / 1.289 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.653e-05/0.4275, allocations: 7.891 kB / 1.289 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.4276, allocations: 11.94 kB / 1.289 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.4277, allocations: 7.984 kB / 1.289 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.816e-05/0.4278, allocations: 7.984 kB / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.4278, allocations: 3.938 kB / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001243/0.4279, allocations: 109.5 kB / 1.289 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4279, allocations: 4 kB / 1.289 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004025/0.4283, allocations: 4 kB / 1.289 GB, free: 6.738 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0008076/0.4291, allocations: 0.7007 MB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002198/0.4294, allocations: 35.98 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.4294, allocations: 0 / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.007e-05/0.4294, allocations: 19.92 kB / 1.289 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.4299, allocations: 15.88 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.4323, allocations: 1.371 MB / 1.291 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004316/0.4327, allocations: 0.6924 MB / 1.292 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.268e-05/0.4328, allocations: 11.92 kB / 1.292 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.85e-05/0.4328, allocations: 19.44 kB / 1.292 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/0.4328, allocations: 0 / 1.292 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0288/0.4616, allocations: 2.145 MB / 1.294 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.63, allocations: 5.781 kB / 1.294 GB, free: 1.746 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.57375729799969] Failed to read output from testmodel.py, exit status != 0: 12.358145744015928 11.81898671 11.393983714 Calling exit ...