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.001536/0.001536, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001942/0.001942, allocations: 214.6 kB / 23.03 MB, free: 4.922 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.554/1.554, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.253/3.253, allocations: 0.49 GB / 0.7959 GB, free: 35.38 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.00208/0.00208, allocations: 73.73 kB / 1.155 GB, free: 25.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.413, allocations: 176.1 MB / 1.327 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002105/0.4151, allocations: 0.6934 MB / 1.327 GB, free: 0.832 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.4163, allocations: 0.8627 MB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.015e-05/0.4164, allocations: 0 / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.816e-05/0.4164, allocations: 3.938 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.221e-05/0.4165, allocations: 3.938 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.4166, allocations: 27.89 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.4168, allocations: 47.86 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.4169, allocations: 15.98 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.967e-05/0.417, allocations: 15.98 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.954e-05/0.417, allocations: 31.84 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.4171, allocations: 4 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.654e-05/0.4171, allocations: 7.938 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.982e-05/0.4171, allocations: 11.98 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.536e-05/0.4172, allocations: 11.94 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.4173, allocations: 52 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.4173, allocations: 0 / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.434e-06/0.4173, allocations: 0 / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.4173, allocations: 8 kB / 1.328 GB, free: 15.72 MB / 1.029 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.0006019/0.4179, allocations: 282.2 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.418, allocations: 8.031 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.903e-05/0.418, allocations: 4.188 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.016e-05/0.418, allocations: 34.75 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.818e-05/0.4181, allocations: 0.9375 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.4182, allocations: 122.4 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.4182, allocations: 4.375 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.4182, allocations: 3.938 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.4184, allocations: 73.59 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.4185, allocations: 3.984 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.4185, allocations: 4 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.4185, allocations: 0 / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002151/0.4187, allocations: 47.95 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004683/0.4192, allocations: 251.9 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.4194, allocations: 66.47 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.4195, allocations: 32.92 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.4195, allocations: 0 / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.4195, allocations: 34.56 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.4195, allocations: 0 / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004228/0.42, allocations: 113.5 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.42, allocations: 51.41 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.438e-05/0.4201, allocations: 109.8 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.4201, allocations: 25.7 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.911e-05/0.4202, allocations: 96.08 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.4202, allocations: 11.84 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/0.4203, allocations: 21.7 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.4204, allocations: 318.8 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.4205, allocations: 23.97 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.483e-05/0.4206, allocations: 19.98 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.4208, allocations: 60.75 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4208, allocations: 8 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002571/0.4211, allocations: 81.58 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.4211, allocations: 8 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.4211, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.4211, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.4213, allocations: 11.98 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.4213, allocations: 0 / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.047e-05/0.4213, allocations: 15.92 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.4213, allocations: 8 kB / 1.33 GB, free: 13.61 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.0001196/0.4215, allocations: 106.4 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.4215, allocations: 7.953 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.599e-05/0.4215, allocations: 11.98 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4215, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4215, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.4215, allocations: 4.266 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.4217, allocations: 136.8 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4217, allocations: 0 / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.111e-05/0.4218, allocations: 11.98 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.4218, allocations: 7.984 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.4218, allocations: 0 / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.4218, allocations: 4 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4218, allocations: 0 / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.4221, allocations: 187.3 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.408e-05/0.4221, allocations: 7.984 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.4222, allocations: 0 / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.4223, allocations: 11.98 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.953e-05/0.4223, allocations: 11.98 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.4223, allocations: 7.938 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.037e-05/0.4224, allocations: 83.28 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4224, allocations: 3.938 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002238/0.4226, allocations: 8 kB / 1.331 GB, free: 12.93 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.0006321/0.4232, allocations: 0.7163 MB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002525/0.4235, allocations: 51.95 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4235, allocations: 4 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.4236, allocations: 35.91 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.424, allocations: 9.5 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.4257, allocations: 1.326 MB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.963e-05/0.4258, allocations: 67.34 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.967e-05/0.4258, allocations: 7.984 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.524e-05/0.4259, allocations: 19.44 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/0.4259, allocations: 0 / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02286/0.4488, allocations: 2.071 MB / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.71, allocations: 8.938 kB / 1.335 GB, free: 8.656 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.75474106601905] Failed to read output from testmodel.py, exit status != 0: 11.87601743801497 11.904143623 11.481840417999999 Calling exit ...