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.44/1.44, allocations: 249.5 MB / 257 MB, free: 6.965 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.00104/0.00104, allocations: 183.7 kB / 316.3 MB, free: 3.242 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.6/1.6, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.0008586/0.0008586, allocations: 97.72 kB / 0.6714 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.2e-05/2.202e-05, allocations: 12 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1939, allocations: 106.3 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6484/0.8423, allocations: 131.6 MB / 1.014 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.8426, allocations: 66.28 kB / 1.014 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001655/0.8443, allocations: 0.6243 MB / 1.015 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8443, allocations: 0 / 1.015 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.8443, allocations: 0 / 1.015 GB, free: 5.211 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.0003613/0.8447, allocations: 348.3 kB / 1.015 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.8447, allocations: 8.031 kB / 1.015 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.138e-05/0.8447, allocations: 7.75 kB / 1.015 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.8449, allocations: 163 kB / 1.015 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.8449, allocations: 0 / 1.015 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-06/0.8449, allocations: 0 / 1.015 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.748e-05/0.845, allocations: 20.34 kB / 1.015 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.997e-05/0.8451, allocations: 37.67 kB / 1.015 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.8451, allocations: 0 / 1.015 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.8451, allocations: 0 / 1.015 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.8451, allocations: 0 / 1.015 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003724/0.8455, allocations: 252.1 kB / 1.015 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.289e-05/0.8455, allocations: 30.2 kB / 1.015 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.227e-05/0.8456, allocations: 8.922 kB / 1.015 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.734e-06/0.8456, allocations: 0 / 1.015 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.8456, allocations: 39.25 kB / 1.015 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 3.807e-06/0.8456, allocations: 0 / 1.015 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001319/0.8458, allocations: 43.98 kB / 1.015 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.8458, allocations: 55.44 kB / 1.015 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.87e-05/0.8459, allocations: 92.62 kB / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.8459, allocations: 29.7 kB / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.517e-05/0.8459, allocations: 83.77 kB / 1.016 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.396e-05/0.846, allocations: 3.906 kB / 1.016 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-06/0.846, allocations: 0 / 1.016 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.8461, allocations: 318.8 kB / 1.016 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.5e-05/0.8461, allocations: 7.625 kB / 1.016 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.347e-05/0.8461, allocations: 8 kB / 1.016 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.357e-05/0.8462, allocations: 3.75 kB / 1.016 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.8462, allocations: 4 kB / 1.016 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.783e-05/0.8462, allocations: 37.64 kB / 1.016 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.8462, allocations: 4 kB / 1.016 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.8463, allocations: 2.5 kB / 1.016 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.8463, allocations: 0 / 1.016 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.271e-05/0.8464, allocations: 11.98 kB / 1.016 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.8464, allocations: 96 / 1.016 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.86e-05/0.8464, allocations: 15.98 kB / 1.016 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.8465, allocations: 4 kB / 1.016 GB, free: 3.453 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.237e-05/0.8465, allocations: 108.5 kB / 1.016 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.34e-05/0.8466, allocations: 37.69 kB / 1.016 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.8466, allocations: 7.906 kB / 1.016 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.42e-05/0.8467, allocations: 15.2 kB / 1.016 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.8467, allocations: 4.031 kB / 1.016 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.8467, allocations: 0 / 1.016 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.8467, allocations: 0 / 1.016 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.8468, allocations: 137.9 kB / 1.016 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.8468, allocations: 3.938 kB / 1.016 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.709e-05/0.8469, allocations: 11.98 kB / 1.016 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.8469, allocations: 0 / 1.016 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/0.8469, allocations: 0 / 1.016 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.8469, allocations: 0 / 1.016 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.8469, allocations: 4 kB / 1.016 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.58e-05/0.847, allocations: 139.2 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.316e-05/0.8471, allocations: 81.05 kB / 1.017 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.8471, allocations: 8 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.507e-05/0.8472, allocations: 11.98 kB / 1.017 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.8472, allocations: 3.625 kB / 1.017 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.8473, allocations: 4.031 kB / 1.017 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.196e-05/0.8473, allocations: 87.2 kB / 1.017 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8473, allocations: 0 / 1.017 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001936/0.8475, allocations: 4 kB / 1.017 GB, free: 2.727 MB / 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.0003819/0.8479, allocations: 0.6766 MB / 1.017 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.402e-05/0.848, allocations: 15.66 kB / 1.017 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.848, allocations: 2.656 kB / 1.017 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.143e-05/0.848, allocations: 11.61 kB / 1.017 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.8482, allocations: 7.984 kB / 1.017 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003009/0.8485, allocations: 89.16 kB / 1.018 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.8487, allocations: 0.6807 MB / 1.018 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.616e-05/0.8488, allocations: 4.125 kB / 1.018 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.868e-05/0.8488, allocations: 11.38 kB / 1.018 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of SimCode: time 3.01e-07/0.8488, allocations: 0 / 1.018 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01634/0.8652, allocations: 0.7499 MB / 1.019 GB, free: 428 kB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/0.8654, allocations: 165.8 kB / 1.019 GB, free: 228 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.331/2.196, allocations: 0 / 1.019 GB, free: 228 kB / 0.6355 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)