Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001765/0.001765, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002195/0.002195, allocations: 219.2 kB / 23.05 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.464/1.464, 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.141/3.141, allocations: 0.49 GB / 0.7959 GB, free: 33.57 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.LessEqualThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_12_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.002044/0.002044, allocations: 68.81 kB / 1.155 GB, free: 25.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3954, allocations: 176.1 MB / 1.327 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.0019/0.3973, allocations: 0.7245 MB / 1.327 GB, free: 1.227 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.3983, allocations: 0.8705 MB / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.877e-05/0.3984, allocations: 0 / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.552e-05/0.3984, allocations: 3.938 kB / 1.328 GB, free: 348 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.446e-05/0.3985, allocations: 3.938 kB / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001241/0.3986, allocations: 15.98 kB / 1.328 GB, free: 328 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.786e-05/0.3987, allocations: 59.83 kB / 1.328 GB, free: 268 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.059e-05/0.3988, allocations: 15.92 kB / 1.328 GB, free: 252 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.012e-05/0.3988, allocations: 19.94 kB / 1.328 GB, free: 232 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.863e-05/0.3989, allocations: 31.89 kB / 1.328 GB, free: 200 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.3989, allocations: 4 kB / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.097e-05/0.3989, allocations: 4 kB / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.399, allocations: 4 kB / 1.328 GB, free: 188 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.259e-05/0.399, allocations: 23.8 kB / 1.328 GB, free: 164 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.965e-05/0.3991, allocations: 52.06 kB / 1.328 GB, free: 112 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.3991, allocations: 0 / 1.328 GB, free: 112 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3991, allocations: 0 / 1.328 GB, free: 112 kB / 1.014 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.3991, allocations: 4 kB / 1.328 GB, free: 108 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.0004916/0.3996, allocations: 278.2 kB / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.3996, allocations: 12.03 kB / 1.329 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.47e-05/0.3996, allocations: 8.109 kB / 1.329 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.104e-05/0.3997, allocations: 30.75 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.521e-05/0.3997, allocations: 4.938 kB / 1.329 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.3998, allocations: 118.4 kB / 1.329 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.3998, allocations: 384 / 1.329 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.3998, allocations: 11.94 kB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.4, allocations: 65.59 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.4, allocations: 0 / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.4001, allocations: 4 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.4001, allocations: 0 / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/0.4003, allocations: 51.94 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004166/0.4007, allocations: 259.9 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.4009, allocations: 62.48 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.401, allocations: 32.91 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.401, allocations: 0 / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.401, allocations: 34.56 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.401, allocations: 4 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004093/0.4015, allocations: 105.6 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.4015, allocations: 59.34 kB / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.961e-05/0.4016, allocations: 105.8 kB / 1.33 GB, free: 14.72 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.4016, allocations: 25.7 kB / 1.33 GB, free: 14.69 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.521e-05/0.4017, allocations: 92.12 kB / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.4017, allocations: 7.906 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.4017, allocations: 21.72 kB / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.4018, allocations: 318.8 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.402, allocations: 19.98 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.4021, allocations: 31.97 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.4022, allocations: 49.09 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.4022, allocations: 11.94 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002687/0.4025, allocations: 89.56 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.4025, allocations: 4 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.4025, allocations: 0 / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.4025, allocations: 0 / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.4027, allocations: 19.92 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.4027, allocations: 0 / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.515e-05/0.4027, allocations: 19.86 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.4028, allocations: 4 kB / 1.33 GB, free: 13.99 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,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 8.567e-05/0.4028, allocations: 110.4 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.4029, allocations: 3.953 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.12e-05/0.4029, allocations: 8 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.4029, allocations: 4 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.4029, allocations: 0 / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4029, allocations: 3.938 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.4031, allocations: 140.7 kB / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4031, allocations: 0 / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.034e-05/0.4032, allocations: 19.98 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.4032, allocations: 4 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.4032, allocations: 0 / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4032, allocations: 0 / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4032, allocations: 0 / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.4035, allocations: 187.3 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-06/0.4035, allocations: 8 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.4035, allocations: 3.984 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.4036, allocations: 4 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.4037, allocations: 11.98 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.4037, allocations: 7.922 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.606e-05/0.4037, allocations: 83.59 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4037, allocations: 4 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000216/0.404, allocations: 4 kB / 1.331 GB, free: 13.31 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 (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.0006222/0.4046, allocations: 0.7202 MB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002629/0.4048, allocations: 51.94 kB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4048, allocations: 0 / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.405, allocations: 35.97 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.4053, allocations: 8.172 kB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.407, allocations: 1.331 MB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.4073, allocations: 0.6807 MB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.1e-05/0.4074, allocations: 8 kB / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.095e-05/0.4074, allocations: 19.42 kB / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of SimCode: time 4.3e-07/0.4074, allocations: 0 / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02625/0.4337, allocations: 2.002 MB / 1.336 GB, free: 8.477 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.69, allocations: 12.98 kB / 1.336 GB, free: 8.473 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.49030090897577] Failed to read output from testmodel.py, exit status != 0: 11.85452776402235 11.883950059 11.479448584 Calling exit ...