Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001372/0.001372, allocations: 98.33 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.001493/0.001493, allocations: 215.6 kB / 23.04 MB, free: 5.074 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.328/3.328, allocations: 0.49 GB / 0.7959 GB, free: 33.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_12_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.002061/0.002061, allocations: 62.16 kB / 1.155 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3647, allocations: 176.1 MB / 1.327 GB, free: 2.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002207/0.3669, allocations: 0.7165 MB / 1.327 GB, free: 1.293 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.3681, allocations: 0.8744 MB / 1.328 GB, free: 416 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.74e-05/0.3682, allocations: 0 / 1.328 GB, free: 416 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.617e-05/0.3682, allocations: 3.938 kB / 1.328 GB, free: 412 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.306e-05/0.3683, allocations: 11.94 kB / 1.328 GB, free: 400 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001574/0.3684, allocations: 23.91 kB / 1.328 GB, free: 376 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.425e-05/0.3685, allocations: 39.92 kB / 1.328 GB, free: 336 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.3686, allocations: 11.98 kB / 1.328 GB, free: 324 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.853e-05/0.3687, allocations: 27.91 kB / 1.328 GB, free: 296 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.208e-05/0.3688, allocations: 23.92 kB / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.3688, allocations: 4 kB / 1.328 GB, free: 268 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.225e-05/0.3688, allocations: 4 kB / 1.328 GB, free: 264 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.089e-05/0.3689, allocations: 7.984 kB / 1.328 GB, free: 256 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.963e-05/0.3689, allocations: 15.88 kB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.369, allocations: 64 kB / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.369, allocations: 0 / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.353e-06/0.369, allocations: 0 / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of Transformations before backend: time 9.427e-06/0.369, allocations: 3.938 kB / 1.328 GB, free: 172 kB / 1.014 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.0006058/0.3696, allocations: 282.2 kB / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.3697, allocations: 8.031 kB / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.807e-05/0.3697, allocations: 4.188 kB / 1.329 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.767e-05/0.3697, allocations: 30.75 kB / 1.329 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.367e-05/0.3698, allocations: 8.938 kB / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.3699, allocations: 118.4 kB / 1.329 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.3699, allocations: 4.375 kB / 1.329 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.37, allocations: 3.938 kB / 1.329 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.3702, allocations: 69.64 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.3702, allocations: 3.938 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.3702, allocations: 3.938 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3702, allocations: 0 / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002189/0.3704, allocations: 55.95 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000477/0.3709, allocations: 255.9 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002244/0.3711, allocations: 62.48 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.3712, allocations: 32.91 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.3713, allocations: 4 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.3713, allocations: 34.56 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.3713, allocations: 0 / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004762/0.3718, allocations: 105.6 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/0.3718, allocations: 55.41 kB / 1.33 GB, free: 14.9 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.3719, allocations: 105.8 kB / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.372, allocations: 29.7 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.424e-05/0.372, allocations: 96.06 kB / 1.33 GB, free: 14.65 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.3721, allocations: 11.84 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-05/0.3721, allocations: 17.72 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.3723, allocations: 318.8 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.3724, allocations: 19.98 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.3725, allocations: 31.97 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.3727, allocations: 53.09 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3727, allocations: 0 / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002506/0.3729, allocations: 81.64 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.373, allocations: 7.938 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.373, allocations: 0 / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.373, allocations: 3.984 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.3731, allocations: 23.92 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.3731, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.922e-05/0.3732, allocations: 15.94 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.3732, allocations: 3.984 kB / 1.33 GB, free: 14.05 MB / 1.029 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 0.0001153/0.3733, allocations: 110.4 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.3734, allocations: 3.953 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.829e-05/0.3734, allocations: 8 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.3734, allocations: 4 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.3734, allocations: 0 / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.3734, allocations: 7.938 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.3737, allocations: 144.8 kB / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3737, allocations: 4 kB / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.134e-05/0.3738, allocations: 11.98 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3738, allocations: 4 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.3738, allocations: 0 / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3738, allocations: 0 / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3738, allocations: 0 / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003352/0.3741, allocations: 195.3 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.484e-05/0.3741, allocations: 4 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.3741, allocations: 0 / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.3742, allocations: 7.984 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.139e-05/0.3743, allocations: 11.98 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.3743, allocations: 7.922 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.418e-05/0.3744, allocations: 87.28 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3744, allocations: 4 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002254/0.3746, allocations: 4 kB / 1.331 GB, free: 13.36 MB / 1.029 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.0006911/0.3753, allocations: 0.7163 MB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002787/0.3756, allocations: 55.94 kB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3756, allocations: 0 / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.3757, allocations: 31.97 kB / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.376, allocations: 15.88 kB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.3777, allocations: 1.325 MB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.3781, allocations: 0.6807 MB / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.432e-05/0.3781, allocations: 7.938 kB / 1.334 GB, free: 10.4 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.719e-05/0.3782, allocations: 19.42 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of SimCode: time 6.72e-07/0.3782, allocations: 0 / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/0.4007, allocations: 1.992 MB / 1.336 GB, free: 8.543 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.6, allocations: 10.25 kB / 1.336 GB, free: 8.539 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.52516503102379] Failed to read output from testmodel.py, exit status != 0: 11.767216439009644 11.79436872 11.420421906 Calling exit ...