Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.001533/0.001533, 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.001752/0.001752, allocations: 217.5 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.269/3.269, allocations: 0.5003 GB / 0.8061 GB, free: 26.74 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.00199/0.00199, allocations: 65.58 kB / 1.171 GB, free: 19.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3548, allocations: 179 MB / 1.345 GB, free: 476 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002043/0.3568, allocations: 0.831 MB / 1.346 GB, free: 15.63 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.358, allocations: 0.921 MB / 1.347 GB, free: 14.7 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.265e-05/0.3581, allocations: 3.938 kB / 1.347 GB, free: 14.7 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.3582, allocations: 11.88 kB / 1.347 GB, free: 14.68 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.822e-05/0.3582, allocations: 15.88 kB / 1.347 GB, free: 14.67 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.3584, allocations: 23.97 kB / 1.347 GB, free: 14.64 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.3586, allocations: 75.72 kB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.3587, allocations: 28.25 kB / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.3588, allocations: 27.92 kB / 1.347 GB, free: 14.52 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.817e-05/0.3589, allocations: 35.78 kB / 1.347 GB, free: 14.48 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.3589, allocations: 11.94 kB / 1.347 GB, free: 14.47 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 3.965e-05/0.3589, allocations: 8 kB / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.3589, allocations: 15.97 kB / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.58e-05/0.359, allocations: 27.81 kB / 1.347 GB, free: 14.42 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.3591, allocations: 91.55 kB / 1.347 GB, free: 14.33 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3591, allocations: 0 / 1.347 GB, free: 14.33 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3591, allocations: 3.938 kB / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.3591, allocations: 0 / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000531/0.3597, allocations: 314 kB / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.3597, allocations: 12.03 kB / 1.348 GB, free: 13.97 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.291e-05/0.3597, allocations: 4.188 kB / 1.348 GB, free: 13.97 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.469e-05/0.3598, allocations: 38.75 kB / 1.348 GB, free: 13.92 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.3599, allocations: 16.88 kB / 1.348 GB, free: 13.91 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.3601, allocations: 140.2 kB / 1.348 GB, free: 13.75 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.3601, allocations: 8.375 kB / 1.348 GB, free: 13.74 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.3602, allocations: 384 / 1.348 GB, free: 13.74 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.3603, allocations: 61.98 kB / 1.348 GB, free: 13.67 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.3603, allocations: 4 kB / 1.348 GB, free: 13.67 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.3603, allocations: 8 kB / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.3603, allocations: 0 / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.3605, allocations: 39.91 kB / 1.348 GB, free: 13.62 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004818/0.3609, allocations: 287.8 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.3611, allocations: 50.59 kB / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.855e-05/0.3612, allocations: 21 kB / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.3612, allocations: 0 / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.3612, allocations: 30.56 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.3612, allocations: 4 kB / 1.348 GB, free: 13.17 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0002588/0.3615, allocations: 73.56 kB / 1.349 GB, free: 13.09 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.3615, allocations: 55.41 kB / 1.349 GB, free: 13.03 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.3616, allocations: 137.7 kB / 1.349 GB, free: 12.88 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.3616, allocations: 29.7 kB / 1.349 GB, free: 12.85 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.533e-05/0.3617, allocations: 100.1 kB / 1.349 GB, free: 12.75 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.3617, allocations: 3.953 kB / 1.349 GB, free: 12.74 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.166e-05/0.3618, allocations: 25.64 kB / 1.349 GB, free: 12.71 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3619, allocations: 318.8 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.02e-05/0.362, allocations: 19.98 kB / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.178e-05/0.362, allocations: 23.98 kB / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.533e-05/0.3621, allocations: 33.11 kB / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3621, allocations: 0 / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001517/0.3623, allocations: 69.58 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.3623, allocations: 9.391 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.3623, allocations: 0 / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.3623, allocations: 3.938 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.255e-05/0.3624, allocations: 4 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.3624, allocations: 4 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.801e-05/0.3625, allocations: 15.92 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.3625, allocations: 0 / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.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.932e-05/0.3626, allocations: 113.8 kB / 1.349 GB, free: 12.08 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.412e-05/0.3626, allocations: 7.953 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.06e-05/0.3626, allocations: 12.33 kB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3626, allocations: 4 kB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.3626, allocations: 0 / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3626, allocations: 7.938 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/0.3628, allocations: 148.7 kB / 1.35 GB, free: 11.86 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3628, allocations: 0 / 1.35 GB, free: 11.86 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.092e-05/0.3629, allocations: 4 kB / 1.35 GB, free: 11.85 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3629, allocations: 0 / 1.35 GB, free: 11.85 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.3629, allocations: 3.984 kB / 1.35 GB, free: 11.85 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3629, allocations: 0 / 1.35 GB, free: 11.85 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3629, allocations: 0 / 1.35 GB, free: 11.85 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.3631, allocations: 171.4 kB / 1.35 GB, free: 11.66 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.666e-05/0.3631, allocations: 11.89 kB / 1.35 GB, free: 11.65 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.3631, allocations: 4 kB / 1.35 GB, free: 11.65 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.3632, allocations: 11.98 kB / 1.35 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.3633, allocations: 7.984 kB / 1.35 GB, free: 11.63 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.3633, allocations: 3.938 kB / 1.35 GB, free: 11.62 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.058e-05/0.3634, allocations: 100.7 kB / 1.35 GB, free: 11.53 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3634, allocations: 4 kB / 1.35 GB, free: 11.52 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002248/0.3636, allocations: 4 kB / 1.35 GB, free: 11.52 MB / 1.045 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 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0005363/0.3641, allocations: 0.7006 MB / 1.351 GB, free: 10.79 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001623/0.3643, allocations: 31.98 kB / 1.351 GB, free: 10.76 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3643, allocations: 0 / 1.351 GB, free: 10.76 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 6.05e-05/0.3643, allocations: 23.98 kB / 1.351 GB, free: 10.74 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.3646, allocations: 15.94 kB / 1.351 GB, free: 10.72 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.3661, allocations: 1.373 MB / 1.352 GB, free: 9.27 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.3665, allocations: 0.69 MB / 1.353 GB, free: 8.555 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.523e-05/0.3665, allocations: 19.86 kB / 1.353 GB, free: 8.535 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.48e-05/0.3666, allocations: 19.44 kB / 1.353 GB, free: 8.516 MB / 1.045 GB Notification: Performance of SimCode: time 4.61e-07/0.3666, allocations: 3.938 kB / 1.353 GB, free: 8.512 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02356/0.3901, allocations: 2.141 MB / 1.355 GB, free: 6.523 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.85, allocations: 6.188 kB / 1.355 GB, free: 6.52 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.78912567300722] Failed to read output from testmodel.py, exit status != 0: 12.01911499799462 12.046572692 11.683047188 Calling exit ...