Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.578/1.578, allocations: 249.3 MB / 261.8 MB, free: 5.844 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001108/0.001109, allocations: 172.9 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.651/1.651, allocations: 205.1 MB / 0.572 GB, free: 10.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001206/0.001206, allocations: 87.08 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.261e-05/4.279e-05, allocations: 7.984 kB / 0.7881 GB, free: 96.97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2531, allocations: 106.3 MB / 0.8919 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7619/1.015, allocations: 131.3 MB / 1.02 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/1.015, allocations: 75.38 kB / 1.02 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001716/1.017, allocations: 0.6393 MB / 1.021 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.545e-06/1.017, allocations: 0 / 1.021 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.388e-06/1.017, allocations: 0 / 1.021 GB, free: 2.762 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004026/1.018, allocations: 343 kB / 1.021 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.967e-05/1.018, allocations: 12.03 kB / 1.021 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.294e-05/1.018, allocations: 30.56 kB / 1.021 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.365e-05/1.018, allocations: 0 / 1.021 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/1.018, allocations: 175 kB / 1.021 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/1.018, allocations: 3.875 kB / 1.021 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/1.018, allocations: 0 / 1.021 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.998e-05/1.018, allocations: 33.64 kB / 1.021 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/1.018, allocations: 4 kB / 1.021 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/1.018, allocations: 0 / 1.021 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/1.018, allocations: 4 kB / 1.021 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.381e-05/1.018, allocations: 11.67 kB / 1.021 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00043/1.019, allocations: 263.7 kB / 1.022 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.613e-05/1.019, allocations: 29.77 kB / 1.022 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.471e-05/1.019, allocations: 16.48 kB / 1.022 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.848e-06/1.019, allocations: 0 / 1.022 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/1.019, allocations: 30.56 kB / 1.022 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.745e-06/1.019, allocations: 4 kB / 1.022 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001287/1.019, allocations: 47.84 kB / 1.022 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/1.019, allocations: 55.34 kB / 1.022 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.059e-05/1.019, allocations: 92.19 kB / 1.022 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/1.019, allocations: 25.73 kB / 1.022 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.55e-05/1.019, allocations: 91.64 kB / 1.022 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.539e-05/1.019, allocations: 3.906 kB / 1.022 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/1.019, allocations: 0 / 1.022 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001236/1.019, allocations: 322.7 kB / 1.022 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.72e-05/1.019, allocations: 4 kB / 1.022 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.26e-05/1.019, allocations: 4 kB / 1.022 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.789e-05/1.019, allocations: 7.75 kB / 1.022 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.019, allocations: 4 kB / 1.022 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.428e-05/1.019, allocations: 40.89 kB / 1.022 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/1.019, allocations: 9.562 kB / 1.022 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/1.019, allocations: 0 / 1.022 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/1.019, allocations: 0 / 1.022 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/1.019, allocations: 15.92 kB / 1.022 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/1.019, allocations: 0 / 1.022 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.068e-05/1.02, allocations: 12.86 kB / 1.022 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/1.02, allocations: 4.031 kB / 1.022 GB, free: 0.9297 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (lesThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.169e-05/1.02, allocations: 106.5 kB / 1.023 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.168e-05/1.02, allocations: 4 kB / 1.023 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.566e-05/1.02, allocations: 10.39 kB / 1.023 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/1.02, allocations: 0 / 1.023 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.02, allocations: 3.938 kB / 1.023 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/1.02, allocations: 3.984 kB / 1.023 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/1.02, allocations: 157.5 kB / 1.023 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/1.02, allocations: 7.562 kB / 1.023 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.858e-05/1.02, allocations: 11.98 kB / 1.023 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/1.02, allocations: 0 / 1.023 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/1.02, allocations: 4 kB / 1.023 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/1.02, allocations: 0 / 1.023 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/1.02, allocations: 0 / 1.023 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/1.02, allocations: 150.5 kB / 1.023 GB, free: 436 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.096e-05/1.02, allocations: 85.08 kB / 1.023 GB, free: 332 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/1.02, allocations: 0 / 1.023 GB, free: 332 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.882e-05/1.02, allocations: 14.7 kB / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/1.02, allocations: 0 / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/1.02, allocations: 4 kB / 1.023 GB, free: 316 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.493e-05/1.02, allocations: 82.91 kB / 1.023 GB, free: 236 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/1.02, allocations: 0 / 1.023 GB, free: 236 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001844/1.021, allocations: 4 kB / 1.023 GB, free: 232 kB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (lesThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004259/1.021, allocations: 0.6763 MB / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.357e-05/1.021, allocations: 15.12 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/1.021, allocations: 0 / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.167e-05/1.021, allocations: 7.438 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/1.021, allocations: 12.14 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003095/1.022, allocations: 89.7 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/1.022, allocations: 0.677 MB / 1.024 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.449e-05/1.022, allocations: 0 / 1.024 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.614e-05/1.022, allocations: 15.38 kB / 1.025 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of SimCode: time 6.21e-07/1.022, allocations: 3.938 kB / 1.025 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.012/1.034, allocations: 1.071 MB / 1.026 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/1.034, allocations: 190.9 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.498/2.532, allocations: 0 / 1.026 GB, free: 13.48 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)