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.715/1.715, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 179.8 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.76/1.76, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.0008243/0.0008245, allocations: 95.94 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.0003768, allocations: 15.75 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2569, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1827/0.4397, allocations: 131.4 MB / 1.028 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/0.4401, allocations: 75.94 kB / 1.029 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001817/0.4419, allocations: 0.6298 MB / 1.029 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.886e-06/0.4419, allocations: 0 / 1.029 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.4419, allocations: 0 / 1.029 GB, free: 11.58 MB / 0.6823 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.0004828/0.4424, allocations: 347.2 kB / 1.029 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/0.4425, allocations: 12.03 kB / 1.03 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.878e-05/0.4425, allocations: 38.5 kB / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.671e-05/0.4426, allocations: 0 / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.4427, allocations: 174.9 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.4428, allocations: 0 / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.4428, allocations: 3.938 kB / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.443, allocations: 57.61 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.443, allocations: 0 / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.4431, allocations: 0 / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.4431, allocations: 8 kB / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002222/0.4433, allocations: 39.97 kB / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005382/0.4439, allocations: 272.9 kB / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.444, allocations: 42.5 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.444, allocations: 0 / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.111e-05/0.4441, allocations: 30.56 kB / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.4441, allocations: 4 kB / 1.03 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.00038/0.4445, allocations: 93.7 kB / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.4446, allocations: 55.53 kB / 1.03 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.686e-05/0.4447, allocations: 96.98 kB / 1.03 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.4447, allocations: 25.7 kB / 1.03 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.445e-05/0.4448, allocations: 92.08 kB / 1.03 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.4448, allocations: 7.891 kB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-06/0.4448, allocations: 0 / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.445, allocations: 314.8 kB / 1.031 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.4451, allocations: 35.91 kB / 1.031 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.803e-05/0.4452, allocations: 15.98 kB / 1.031 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.343e-05/0.4453, allocations: 23.98 kB / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4453, allocations: 0 / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002113/0.4455, allocations: 77.72 kB / 1.031 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.4455, allocations: 4 kB / 1.031 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.4455, allocations: 0 / 1.031 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.4456, allocations: 0 / 1.031 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.4457, allocations: 12.03 kB / 1.031 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.4457, allocations: 3.984 kB / 1.031 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.046e-05/0.4458, allocations: 8 kB / 1.031 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.4458, allocations: 4 kB / 1.031 GB, free: 9.5 MB / 0.6823 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 () * Number of clocked 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 0.0001264/0.4459, allocations: 122.4 kB / 1.031 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.446, allocations: 7.891 kB / 1.031 GB, free: 9.363 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/0.446, allocations: 7.125 kB / 1.031 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.446, allocations: 4.25 kB / 1.031 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.446, allocations: 3.938 kB / 1.031 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.446, allocations: 4 kB / 1.031 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.4462, allocations: 157.6 kB / 1.031 GB, free: 9.141 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.4463, allocations: 3.984 kB / 1.031 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.746e-05/0.4463, allocations: 8 kB / 1.031 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4463, allocations: 0 / 1.031 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.4463, allocations: 0 / 1.031 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.4463, allocations: 3.938 kB / 1.031 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4464, allocations: 8 kB / 1.031 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.4466, allocations: 171.5 kB / 1.031 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.994e-05/0.4467, allocations: 77.11 kB / 1.032 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.4467, allocations: 8.016 kB / 1.032 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.357e-05/0.4468, allocations: 8 kB / 1.032 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/0.4469, allocations: 7.984 kB / 1.032 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.4469, allocations: 0 / 1.032 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.909e-05/0.447, allocations: 83.28 kB / 1.032 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.983e-06/0.447, allocations: 0 / 1.032 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002404/0.4472, allocations: 7.938 kB / 1.032 GB, free: 8.727 MB / 0.6823 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 () * Number of clocked 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.0007119/0.4479, allocations: 0.7092 MB / 1.032 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002355/0.4482, allocations: 47.95 kB / 1.032 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4482, allocations: 0 / 1.032 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.489e-05/0.4483, allocations: 31.98 kB / 1.032 GB, free: 7.914 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.4486, allocations: 4 kB / 1.032 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005097/0.4491, allocations: 142.2 kB / 1.033 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.4494, allocations: 0.677 MB / 1.033 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.581e-05/0.4495, allocations: 4 kB / 1.033 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.942e-05/0.4495, allocations: 19.48 kB / 1.033 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of SimCode: time 4.278e-06/0.4495, allocations: 0 / 1.033 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01236/0.4619, allocations: 1.064 MB / 1.034 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/0.4621, allocations: 198.8 kB / 1.034 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/2.172, allocations: 0 / 1.034 GB, free: 5.875 MB / 0.6823 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)