Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.001727/0.001727, allocations: 118.9 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.002126/0.002126, allocations: 211.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.561/1.561, 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 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.808/2.808, allocations: 476.7 MB / 0.7678 GB, free: 9.336 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.LessEqualThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.002017/0.002017, allocations: 63.91 kB / 1.113 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047/1.049, allocations: 169.9 MB / 1.279 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002558/1.051, allocations: 0.704 MB / 1.28 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001571/1.053, allocations: 0.8678 MB / 1.28 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.723e-05/1.053, allocations: 0.875 kB / 1.28 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.179e-05/1.053, allocations: 4.922 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001/1.053, allocations: 10.05 kB / 1.281 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/1.053, allocations: 17.52 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001181/1.053, allocations: 53.06 kB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/1.053, allocations: 11.44 kB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.978e-05/1.054, allocations: 26.55 kB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.967e-05/1.054, allocations: 20.83 kB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/1.054, allocations: 4.25 kB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.531e-05/1.054, allocations: 8.5 kB / 1.281 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.311e-05/1.054, allocations: 15.72 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.492e-05/1.054, allocations: 18.08 kB / 1.281 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001527/1.054, allocations: 48.67 kB / 1.281 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.054, allocations: 1.938 kB / 1.281 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.854e-06/1.054, allocations: 0 / 1.281 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.634e-06/1.054, allocations: 0 / 1.281 GB, free: 10.47 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.0007252/1.055, allocations: 353.5 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/1.055, allocations: 10.47 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.626e-05/1.055, allocations: 9.5 kB / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.857e-05/1.055, allocations: 41.44 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/1.055, allocations: 5.953 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/1.055, allocations: 173 kB / 1.281 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/1.055, allocations: 6.5 kB / 1.281 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/1.055, allocations: 10.94 kB / 1.281 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/1.055, allocations: 63.14 kB / 1.281 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/1.055, allocations: 0.7188 kB / 1.281 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/1.055, allocations: 4 kB / 1.281 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/1.055, allocations: 2.5 kB / 1.281 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002623/1.056, allocations: 47.09 kB / 1.281 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006554/1.056, allocations: 288.3 kB / 1.282 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/1.057, allocations: 68.66 kB / 1.282 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/1.057, allocations: 27.69 kB / 1.282 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/1.057, allocations: 9.344 kB / 1.282 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/1.057, allocations: 31.27 kB / 1.282 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/1.057, allocations: 1.312 kB / 1.282 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0004955/1.057, allocations: 112.8 kB / 1.282 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/1.057, allocations: 57.09 kB / 1.282 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/1.057, allocations: 107.2 kB / 1.282 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/1.057, allocations: 29.7 kB / 1.282 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.461e-05/1.058, allocations: 83.61 kB / 1.282 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/1.058, allocations: 13.94 kB / 1.282 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.075e-05/1.058, allocations: 15.92 kB / 1.282 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001754/1.058, allocations: 321.8 kB / 1.283 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/1.058, allocations: 25.78 kB / 1.283 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/1.058, allocations: 23.72 kB / 1.283 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/1.058, allocations: 49.25 kB / 1.283 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.058, allocations: 0.625 kB / 1.283 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003188/1.059, allocations: 87.7 kB / 1.283 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/1.059, allocations: 9.312 kB / 1.283 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/1.059, allocations: 0.5312 kB / 1.283 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/1.059, allocations: 1.203 kB / 1.283 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/1.059, allocations: 11.83 kB / 1.283 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/1.059, allocations: 0.5 kB / 1.283 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.35e-05/1.059, allocations: 11.02 kB / 1.283 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/1.059, allocations: 6.078 kB / 1.283 GB, free: 8.617 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,intLesEquThr.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.0001919/1.059, allocations: 113.5 kB / 1.283 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/1.059, allocations: 6.703 kB / 1.283 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.136e-05/1.059, allocations: 17.55 kB / 1.283 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/1.059, allocations: 0.5 kB / 1.283 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/1.059, allocations: 0.6875 kB / 1.283 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/1.059, allocations: 5.062 kB / 1.283 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/1.059, allocations: 170.8 kB / 1.283 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/1.059, allocations: 0 / 1.283 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/1.06, allocations: 12.52 kB / 1.283 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/1.06, allocations: 0.5625 kB / 1.283 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/1.06, allocations: 5.25 kB / 1.283 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/1.06, allocations: 4.438 kB / 1.283 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.06, allocations: 4.531 kB / 1.283 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004103/1.06, allocations: 179.7 kB / 1.283 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.649e-05/1.06, allocations: 87.3 kB / 1.283 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/1.06, allocations: 0.5 kB / 1.283 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/1.06, allocations: 11.67 kB / 1.283 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/1.06, allocations: 11.8 kB / 1.283 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/1.06, allocations: 9.531 kB / 1.283 GB, free: 8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.648e-05/1.06, allocations: 87.61 kB / 1.283 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.06, allocations: 0 / 1.283 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002549/1.061, allocations: 10.72 kB / 1.283 GB, free: 7.918 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 (intLesEquThr.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.0009766/1.062, allocations: 0.7189 MB / 1.284 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003004/1.062, allocations: 52.45 kB / 1.284 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.062, allocations: 0 / 1.284 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001449/1.062, allocations: 37.55 kB / 1.284 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/1.063, allocations: 7.516 kB / 1.284 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/1.065, allocations: 1.32 MB / 1.286 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/1.065, allocations: 0.6822 MB / 1.286 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.375e-05/1.065, allocations: 7.234 kB / 1.286 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.911e-05/1.065, allocations: 22.61 kB / 1.286 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/1.065, allocations: 0 / 1.286 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/1.085, allocations: 1.892 MB / 1.288 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.431/9.516, allocations: 17.45 kB / 1.288 GB, free: 4.887 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.905420421040617] Failed to read output from testmodel.py, exit status != 0: 9.654109805996995 9.68267712 8.624006322 Calling exit ...