Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.001254/0.001254, allocations: 115.4 kB / 17.16 MB, free: 5.895 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.001515/0.001515, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.67/1.67, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.074/3.074, allocations: 0.5003 GB / 0.8026 GB, free: 6.703 MB / 0.6387 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.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_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.001963/0.001963, allocations: 71.89 kB / 1.165 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.134/1.136, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002415/1.139, allocations: 0.7086 MB / 1.341 GB, free: 15.79 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001207/1.14, allocations: 0.8643 MB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.12e-05/1.14, allocations: 1.125 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.931e-05/1.14, allocations: 4.547 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.437e-05/1.14, allocations: 5.953 kB / 1.342 GB, free: 15.13 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/1.14, allocations: 22.81 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/1.14, allocations: 52.38 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/1.141, allocations: 14.77 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.102e-05/1.141, allocations: 18.33 kB / 1.342 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.945e-05/1.141, allocations: 28.88 kB / 1.342 GB, free: 15.06 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/1.141, allocations: 5.062 kB / 1.342 GB, free: 15.06 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.399e-05/1.141, allocations: 7.969 kB / 1.342 GB, free: 15.06 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.675e-05/1.141, allocations: 8.531 kB / 1.342 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.014e-05/1.141, allocations: 25.16 kB / 1.342 GB, free: 15.04 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/1.141, allocations: 41.33 kB / 1.342 GB, free: 15.02 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.141, allocations: 0.6094 kB / 1.342 GB, free: 15.02 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.753e-06/1.141, allocations: 0 / 1.342 GB, free: 15.02 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.463e-06/1.141, allocations: 4 kB / 1.342 GB, free: 15.02 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005699/1.142, allocations: 363.8 kB / 1.342 GB, free: 14.65 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/1.142, allocations: 14.64 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.777e-05/1.142, allocations: 1.312 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.983e-05/1.142, allocations: 32.38 kB / 1.342 GB, free: 14.61 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/1.142, allocations: 4.109 kB / 1.342 GB, free: 14.61 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/1.142, allocations: 175.8 kB / 1.342 GB, free: 14.4 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/1.142, allocations: 7.047 kB / 1.342 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/1.142, allocations: 6.219 kB / 1.342 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/1.142, allocations: 67.88 kB / 1.343 GB, free: 14.35 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/1.142, allocations: 0 / 1.343 GB, free: 14.35 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/1.142, allocations: 5.078 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/1.142, allocations: 1 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002165/1.142, allocations: 52.7 kB / 1.343 GB, free: 14.33 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004309/1.143, allocations: 293.4 kB / 1.343 GB, free: 14.04 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/1.143, allocations: 63.83 kB / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/1.143, allocations: 32.67 kB / 1.343 GB, free: 13.98 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/1.143, allocations: 0 / 1.343 GB, free: 13.98 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/1.143, allocations: 36.33 kB / 1.343 GB, free: 13.94 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 9.81e-07/1.143, allocations: 0 / 1.343 GB, free: 13.94 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.000447/1.144, allocations: 111.2 kB / 1.343 GB, free: 13.89 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/1.144, allocations: 51.41 kB / 1.343 GB, free: 13.83 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.538e-05/1.144, allocations: 107.2 kB / 1.343 GB, free: 13.73 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/1.144, allocations: 25.7 kB / 1.343 GB, free: 13.7 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.001e-05/1.144, allocations: 92.72 kB / 1.343 GB, free: 13.61 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/1.144, allocations: 10.16 kB / 1.343 GB, free: 13.6 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/1.144, allocations: 18.06 kB / 1.343 GB, free: 13.58 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.187e-05/1.144, allocations: 318.7 kB / 1.344 GB, free: 13.26 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/1.144, allocations: 23.02 kB / 1.344 GB, free: 13.26 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.934e-05/1.144, allocations: 26.7 kB / 1.344 GB, free: 13.25 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/1.144, allocations: 53.11 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.144, allocations: 1.812 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002399/1.144, allocations: 86.45 kB / 1.344 GB, free: 13.18 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/1.145, allocations: 6.328 kB / 1.344 GB, free: 13.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/1.145, allocations: 3.938 kB / 1.344 GB, free: 13.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/1.145, allocations: 3.938 kB / 1.344 GB, free: 13.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/1.145, allocations: 15.89 kB / 1.344 GB, free: 13.17 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/1.145, allocations: 2.062 kB / 1.344 GB, free: 13.17 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.858e-05/1.145, allocations: 18.8 kB / 1.344 GB, free: 13.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/1.145, allocations: 2.094 kB / 1.344 GB, free: 13.16 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intLesThr.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 6.609e-05/1.145, allocations: 109.1 kB / 1.344 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/1.145, allocations: 3.234 kB / 1.344 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.762e-05/1.145, allocations: 9.75 kB / 1.344 GB, free: 13.03 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/1.145, allocations: 0 / 1.344 GB, free: 13.03 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/1.145, allocations: 2.031 kB / 1.344 GB, free: 13.03 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/1.145, allocations: 3.938 kB / 1.344 GB, free: 13.03 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/1.145, allocations: 175.3 kB / 1.344 GB, free: 12.83 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/1.145, allocations: 4 kB / 1.344 GB, free: 12.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.268e-05/1.145, allocations: 15.81 kB / 1.344 GB, free: 12.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/1.145, allocations: 0.75 kB / 1.344 GB, free: 12.82 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/1.145, allocations: 1.844 kB / 1.344 GB, free: 12.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.145, allocations: 0 / 1.344 GB, free: 12.82 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.145, allocations: 1.312 kB / 1.344 GB, free: 12.82 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002914/1.145, allocations: 194.9 kB / 1.344 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.594e-05/1.145, allocations: 82.8 kB / 1.345 GB, free: 12.56 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/1.145, allocations: 2.078 kB / 1.345 GB, free: 12.56 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/1.146, allocations: 8 kB / 1.345 GB, free: 12.56 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.239e-05/1.146, allocations: 11.53 kB / 1.345 GB, free: 12.56 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/1.146, allocations: 5.375 kB / 1.345 GB, free: 12.55 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.64e-05/1.146, allocations: 88.22 kB / 1.345 GB, free: 12.48 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.146, allocations: 0 / 1.345 GB, free: 12.48 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000223/1.146, allocations: 6.406 kB / 1.345 GB, free: 12.48 MB / 1.061 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 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0005499/1.146, allocations: 0.7231 MB / 1.345 GB, free: 11.8 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003074/1.147, allocations: 52.64 kB / 1.345 GB, free: 11.79 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/1.147, allocations: 4 kB / 1.345 GB, free: 11.79 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001267/1.147, allocations: 33.44 kB / 1.345 GB, free: 11.78 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/1.147, allocations: 11.22 kB / 1.345 GB, free: 11.77 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/1.149, allocations: 1.329 MB / 1.347 GB, free: 10.55 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001422/1.149, allocations: 0.6851 MB / 1.347 GB, free: 9.852 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.185e-05/1.149, allocations: 5.266 kB / 1.347 GB, free: 9.852 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.384e-05/1.149, allocations: 21.39 kB / 1.347 GB, free: 9.836 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/1.149, allocations: 0 / 1.347 GB, free: 9.836 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01974/1.169, allocations: 1.889 MB / 1.349 GB, free: 9.441 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.319/9.488, allocations: 10.2 kB / 1.349 GB, free: 9.438 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.41558225103654] Failed to read output from testmodel.py, exit status != 0: 9.614269211946521 9.629257406 8.485319269 Calling exit ...