Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001296/0.001296, allocations: 120 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.00139/0.00139, 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.52/1.52, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.9/2.9, allocations: 476.7 MB / 0.7678 GB, free: 9.395 MB / 0.6075 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.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_11_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.002245/0.002245, allocations: 71.89 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045/1.048, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002176/1.05, allocations: 0.7147 MB / 1.28 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001277/1.051, allocations: 0.8642 MB / 1.28 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.061e-05/1.051, allocations: 1.344 kB / 1.28 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.878e-05/1.051, allocations: 4.641 kB / 1.28 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.585e-05/1.051, allocations: 5.844 kB / 1.28 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001639/1.051, allocations: 21.73 kB / 1.281 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/1.051, allocations: 57.75 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/1.052, allocations: 13.12 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.805e-05/1.052, allocations: 19.33 kB / 1.281 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.988e-05/1.052, allocations: 30.14 kB / 1.281 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/1.052, allocations: 4.094 kB / 1.281 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.316e-05/1.052, allocations: 4.219 kB / 1.281 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/1.052, allocations: 7.625 kB / 1.281 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.907e-05/1.052, allocations: 22.17 kB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/1.052, allocations: 46.52 kB / 1.281 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/1.052, allocations: 0 / 1.281 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.966e-06/1.052, allocations: 5.797 kB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.01e-05/1.052, allocations: 0 / 1.281 GB, free: 10.52 MB / 0.9981 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.000622/1.053, allocations: 359 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/1.053, allocations: 10.14 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.285e-05/1.053, allocations: 1.656 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.987e-05/1.053, allocations: 40.16 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.076e-05/1.053, allocations: 11.98 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/1.053, allocations: 167.8 kB / 1.281 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/1.053, allocations: 7.188 kB / 1.281 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/1.053, allocations: 10.09 kB / 1.281 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/1.053, allocations: 64.19 kB / 1.281 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/1.053, allocations: 0.9062 kB / 1.281 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/1.053, allocations: 4 kB / 1.281 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/1.053, allocations: 1.031 kB / 1.281 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002303/1.053, allocations: 47.73 kB / 1.281 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000496/1.054, allocations: 302.3 kB / 1.282 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/1.054, allocations: 61.02 kB / 1.282 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/1.054, allocations: 31.77 kB / 1.282 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/1.054, allocations: 0.6562 kB / 1.282 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/1.054, allocations: 36.59 kB / 1.282 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/1.054, allocations: 3.938 kB / 1.282 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0004879/1.055, allocations: 109.2 kB / 1.282 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/1.055, allocations: 53.23 kB / 1.282 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.45e-05/1.055, allocations: 106.3 kB / 1.282 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/1.055, allocations: 25.7 kB / 1.282 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/1.055, allocations: 87.5 kB / 1.282 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/1.055, allocations: 14.97 kB / 1.282 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/1.055, allocations: 19.08 kB / 1.282 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.055, allocations: 322.5 kB / 1.283 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/1.055, allocations: 22.7 kB / 1.283 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/1.055, allocations: 22.78 kB / 1.283 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/1.056, allocations: 57.31 kB / 1.283 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.056, allocations: 0 / 1.283 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002879/1.056, allocations: 83.72 kB / 1.283 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/1.056, allocations: 8.422 kB / 1.283 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/1.056, allocations: 0.5312 kB / 1.283 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/1.056, allocations: 1.297 kB / 1.283 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/1.056, allocations: 11.22 kB / 1.283 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/1.056, allocations: 0.5312 kB / 1.283 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.839e-05/1.056, allocations: 20.97 kB / 1.283 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/1.056, allocations: 1.5 kB / 1.283 GB, free: 8.676 MB / 0.9981 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 9.731e-05/1.056, allocations: 115.4 kB / 1.283 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/1.056, allocations: 9.766 kB / 1.283 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.231e-05/1.056, allocations: 5.719 kB / 1.283 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/1.056, allocations: 1.281 kB / 1.283 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/1.056, allocations: 4.562 kB / 1.283 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/1.056, allocations: 4.594 kB / 1.283 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/1.057, allocations: 174.6 kB / 1.283 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.057, allocations: 4.562 kB / 1.283 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/1.057, allocations: 11.69 kB / 1.283 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/1.057, allocations: 0.5 kB / 1.283 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/1.057, allocations: 5.766 kB / 1.283 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/1.057, allocations: 0.5 kB / 1.283 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.057, allocations: 1.25 kB / 1.283 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00036/1.057, allocations: 183.2 kB / 1.283 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.602e-05/1.057, allocations: 87.42 kB / 1.283 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/1.057, allocations: 1.172 kB / 1.283 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/1.057, allocations: 8.688 kB / 1.283 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.242e-05/1.057, allocations: 14.73 kB / 1.283 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/1.057, allocations: 6.172 kB / 1.283 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.665e-05/1.057, allocations: 87.23 kB / 1.283 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/1.057, allocations: 0.5 kB / 1.283 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002305/1.058, allocations: 6.656 kB / 1.283 GB, free: 7.984 MB / 0.9981 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.0007175/1.058, allocations: 0.7223 MB / 1.284 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002816/1.059, allocations: 56.12 kB / 1.284 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.059, allocations: 4 kB / 1.284 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/1.059, allocations: 28.94 kB / 1.284 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/1.059, allocations: 12.27 kB / 1.284 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/1.061, allocations: 1.32 MB / 1.286 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/1.061, allocations: 0.6854 MB / 1.286 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.29e-05/1.061, allocations: 4.312 kB / 1.286 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.429e-05/1.061, allocations: 17.17 kB / 1.286 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/1.061, allocations: 1.156 kB / 1.286 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01898/1.08, allocations: 1.902 MB / 1.288 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.39/9.47, allocations: 16.53 kB / 1.288 GB, free: 4.934 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.878898400056642] Failed to read output from testmodel.py, exit status != 0: 9.595885745016858 9.610911336000001 8.555784575 Calling exit ...