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.001289/0.001289, 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.00137/0.00137, 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.511/1.511, 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 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 2.903/2.903, allocations: 0.49 GB / 0.7923 GB, free: 1.34 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.002209/0.002209, allocations: 63.91 kB / 1.15 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.069/1.071, allocations: 176.1 MB / 1.321 GB, free: 7.676 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002035/1.073, allocations: 0.7153 MB / 1.322 GB, free: 7.137 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001158/1.074, allocations: 0.8654 MB / 1.323 GB, free: 6.43 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.464e-05/1.074, allocations: 5.031 kB / 1.323 GB, free: 6.426 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.144e-05/1.074, allocations: 3.938 kB / 1.323 GB, free: 6.422 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.344e-05/1.074, allocations: 13.03 kB / 1.323 GB, free: 6.41 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001549/1.074, allocations: 33.45 kB / 1.323 GB, free: 6.383 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.867e-05/1.074, allocations: 38.2 kB / 1.323 GB, free: 6.363 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/1.075, allocations: 11.7 kB / 1.323 GB, free: 6.355 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.835e-05/1.075, allocations: 23.61 kB / 1.323 GB, free: 6.34 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.015e-05/1.075, allocations: 22.62 kB / 1.323 GB, free: 6.324 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/1.075, allocations: 4.125 kB / 1.323 GB, free: 6.324 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.245e-05/1.075, allocations: 4.594 kB / 1.323 GB, free: 6.324 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.425e-05/1.075, allocations: 17.3 kB / 1.323 GB, free: 6.309 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.397e-05/1.075, allocations: 15.67 kB / 1.323 GB, free: 6.297 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000117/1.075, allocations: 54 kB / 1.323 GB, free: 6.254 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/1.075, allocations: 0 / 1.323 GB, free: 6.254 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.893e-06/1.075, allocations: 1.312 kB / 1.323 GB, free: 6.254 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.202e-06/1.075, allocations: 0 / 1.323 GB, free: 6.254 MB / 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.0006456/1.076, allocations: 363.6 kB / 1.324 GB, free: 5.871 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/1.076, allocations: 13.33 kB / 1.324 GB, free: 5.867 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.039e-05/1.076, allocations: 1.406 kB / 1.324 GB, free: 5.867 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.062e-05/1.076, allocations: 39.72 kB / 1.324 GB, free: 5.82 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.708e-05/1.076, allocations: 7.469 kB / 1.324 GB, free: 5.816 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/1.076, allocations: 166.6 kB / 1.324 GB, free: 5.617 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/1.076, allocations: 1.531 kB / 1.324 GB, free: 5.617 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/1.076, allocations: 6.844 kB / 1.324 GB, free: 5.613 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/1.076, allocations: 68.28 kB / 1.324 GB, free: 5.559 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/1.076, allocations: 0 / 1.324 GB, free: 5.559 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/1.076, allocations: 3.984 kB / 1.324 GB, free: 5.555 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/1.076, allocations: 1.312 kB / 1.324 GB, free: 5.555 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002305/1.076, allocations: 54.58 kB / 1.324 GB, free: 5.527 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004817/1.077, allocations: 291 kB / 1.324 GB, free: 5.215 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/1.077, allocations: 63.66 kB / 1.324 GB, free: 5.168 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/1.077, allocations: 25.23 kB / 1.324 GB, free: 5.152 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/1.077, allocations: 9.484 kB / 1.324 GB, free: 5.145 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/1.077, allocations: 34.5 kB / 1.324 GB, free: 5.102 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/1.077, allocations: 1.438 kB / 1.324 GB, free: 5.102 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.000463/1.078, allocations: 111.7 kB / 1.324 GB, free: 5.027 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/1.078, allocations: 56.53 kB / 1.325 GB, free: 4.961 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/1.078, allocations: 106.9 kB / 1.325 GB, free: 4.855 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/1.078, allocations: 34.83 kB / 1.325 GB, free: 4.816 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.692e-05/1.078, allocations: 81.52 kB / 1.325 GB, free: 4.734 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/1.078, allocations: 14.12 kB / 1.325 GB, free: 4.723 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.703e-05/1.078, allocations: 16.92 kB / 1.325 GB, free: 4.703 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001457/1.078, allocations: 320.2 kB / 1.325 GB, free: 4.383 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/1.078, allocations: 24.34 kB / 1.325 GB, free: 4.371 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/1.078, allocations: 21.17 kB / 1.325 GB, free: 4.363 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/1.079, allocations: 61.56 kB / 1.325 GB, free: 4.324 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.079, allocations: 1.562 kB / 1.325 GB, free: 4.324 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002824/1.079, allocations: 84.3 kB / 1.325 GB, free: 4.266 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/1.079, allocations: 7.5 kB / 1.325 GB, free: 4.266 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/1.079, allocations: 0 / 1.325 GB, free: 4.266 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/1.079, allocations: 1.094 kB / 1.325 GB, free: 4.266 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/1.079, allocations: 14.67 kB / 1.325 GB, free: 4.258 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/1.079, allocations: 1.125 kB / 1.325 GB, free: 4.258 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.794e-05/1.079, allocations: 17.16 kB / 1.325 GB, free: 4.246 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/1.079, allocations: 0.8125 kB / 1.325 GB, free: 4.246 MB / 1.014 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.0001/1.079, allocations: 117.4 kB / 1.325 GB, free: 4.125 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/1.079, allocations: 5.234 kB / 1.325 GB, free: 4.121 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.768e-05/1.079, allocations: 9.375 kB / 1.325 GB, free: 4.102 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/1.079, allocations: 4 kB / 1.325 GB, free: 4.098 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.079, allocations: 1.594 kB / 1.325 GB, free: 4.098 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/1.079, allocations: 7.938 kB / 1.325 GB, free: 4.09 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/1.08, allocations: 171.9 kB / 1.326 GB, free: 3.883 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.08, allocations: 0 / 1.326 GB, free: 3.883 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.206e-05/1.08, allocations: 11.52 kB / 1.326 GB, free: 3.879 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/1.08, allocations: 1.281 kB / 1.326 GB, free: 3.879 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/1.08, allocations: 0 / 1.326 GB, free: 3.879 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/1.08, allocations: 1.156 kB / 1.326 GB, free: 3.879 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.08, allocations: 0 / 1.326 GB, free: 3.879 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003215/1.08, allocations: 188.6 kB / 1.326 GB, free: 3.711 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.578e-05/1.08, allocations: 81.05 kB / 1.326 GB, free: 3.613 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/1.08, allocations: 1.344 kB / 1.326 GB, free: 3.613 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/1.08, allocations: 12.33 kB / 1.326 GB, free: 3.605 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/1.08, allocations: 12.08 kB / 1.326 GB, free: 3.598 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/1.08, allocations: 6 kB / 1.326 GB, free: 3.594 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.09e-05/1.08, allocations: 88.58 kB / 1.326 GB, free: 3.512 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/1.08, allocations: 5.281 kB / 1.326 GB, free: 3.508 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002226/1.081, allocations: 6.625 kB / 1.326 GB, free: 3.508 MB / 1.014 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.0006695/1.081, allocations: 0.717 MB / 1.327 GB, free: 2.816 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000279/1.081, allocations: 61.36 kB / 1.327 GB, free: 2.785 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/1.081, allocations: 0 / 1.327 GB, free: 2.785 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001206/1.082, allocations: 33.94 kB / 1.327 GB, free: 2.77 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/1.082, allocations: 16.98 kB / 1.327 GB, free: 2.758 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/1.084, allocations: 1.325 MB / 1.328 GB, free: 1.488 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/1.084, allocations: 0.6845 MB / 1.329 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.081e-05/1.084, allocations: 3 kB / 1.329 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.711e-05/1.084, allocations: 19.5 kB / 1.329 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of SimCode: time 3.5e-07/1.084, allocations: 0 / 1.329 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01854/1.103, allocations: 1.891 MB / 1.331 GB, free: 15.76 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.466/9.569, allocations: 4.672 kB / 1.331 GB, free: 15.76 MB / 1.029 GB " [Timeout remaining time 290] (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: 15.98966531601036] Failed to read output from testmodel.py, exit status != 0: 9.700785848952364 9.717205061 8.639101787 Calling exit ...