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.587/1.587, allocations: 252 MB / 267 MB, free: 10.93 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.00103/0.00103, allocations: 184.6 kB / 326.6 MB, free: 2.203 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.851/1.851, allocations: 205.4 MB / 0.5777 GB, free: 20.26 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.0007455/0.0007457, allocations: 81.92 kB / 0.6822 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003779/0.0003779, allocations: 13.03 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2493, allocations: 106.4 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.001366/0.2507, allocations: 1.091 MB / 0.9014 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002296/0.2509, allocations: 100.6 kB / 0.9015 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.671e-05/0.251, allocations: 4 kB / 0.9015 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.359e-05/0.251, allocations: 3.938 kB / 0.9015 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.621e-05/0.2511, allocations: 4 kB / 0.9015 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.093e-05/0.2511, allocations: 4 kB / 0.9015 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.628e-05/0.2512, allocations: 19.92 kB / 0.9015 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.193e-05/0.2513, allocations: 4 kB / 0.9015 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.289e-05/0.2514, allocations: 15.92 kB / 0.9015 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.402e-05/0.2514, allocations: 0 / 0.9015 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.2514, allocations: 4 kB / 0.9016 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.923e-06/0.2514, allocations: 0 / 0.9016 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.248e-05/0.2515, allocations: 11.92 kB / 0.9016 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.827e-05/0.2515, allocations: 29.7 kB / 0.9016 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.29e-05/0.2515, allocations: 11.97 kB / 0.9016 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.2516, allocations: 0 / 0.9016 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2516, allocations: 0 / 0.9016 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.2516, allocations: 0 / 0.9016 GB, free: 62.47 MB / 0.6042 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.0004419/0.252, allocations: 343.4 kB / 0.9019 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.2521, allocations: 8.031 kB / 0.9019 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.794e-05/0.2521, allocations: 38.55 kB / 0.902 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.475e-05/0.2521, allocations: 11.84 kB / 0.902 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.17e-05/0.2522, allocations: 171.2 kB / 0.9021 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.2522, allocations: 0 / 0.9021 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.2523, allocations: 0 / 0.9021 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.2524, allocations: 61.61 kB / 0.9022 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.2525, allocations: 0 / 0.9022 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.2525, allocations: 8 kB / 0.9022 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.2525, allocations: 0 / 0.9022 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.2527, allocations: 43.95 kB / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002971/0.253, allocations: 252.9 kB / 0.9025 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.2531, allocations: 50.53 kB / 0.9025 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.657e-05/0.2532, allocations: 24.84 kB / 0.9026 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.2532, allocations: 4 kB / 0.9026 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.2532, allocations: 42.5 kB / 0.9026 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.2532, allocations: 0 / 0.9026 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003401/0.2536, allocations: 93.73 kB / 0.9027 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.2536, allocations: 51.41 kB / 0.9028 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.147e-05/0.2537, allocations: 109.8 kB / 0.9029 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.2537, allocations: 25.7 kB / 0.9029 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/0.2538, allocations: 84.14 kB / 0.903 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.2538, allocations: 3.906 kB / 0.903 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.2538, allocations: 0 / 0.903 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.697e-05/0.2539, allocations: 322.9 kB / 0.9033 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.437e-05/0.254, allocations: 23.92 kB / 0.9033 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.252e-05/0.254, allocations: 27.97 kB / 0.9033 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.885e-05/0.2541, allocations: 20.05 kB / 0.9033 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2541, allocations: 0 / 0.9033 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001793/0.2543, allocations: 69.67 kB / 0.9034 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.2543, allocations: 11.98 kB / 0.9034 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.2544, allocations: 4.031 kB / 0.9034 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.2544, allocations: 0 / 0.9034 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-05/0.2545, allocations: 8 kB / 0.9034 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.2545, allocations: 0 / 0.9034 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.784e-05/0.2545, allocations: 11.98 kB / 0.9034 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.2546, allocations: 3.953 kB / 0.9034 GB, free: 60.35 MB / 0.6042 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 6.156e-05/0.2546, allocations: 117.8 kB / 0.9036 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.2546, allocations: 7.906 kB / 0.9036 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.058e-05/0.2547, allocations: 7.109 kB / 0.9036 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2547, allocations: 3.938 kB / 0.9036 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2547, allocations: 256 / 0.9036 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2547, allocations: 0 / 0.9036 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.2548, allocations: 165.6 kB / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2548, allocations: 0 / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.309e-05/0.2549, allocations: 11.98 kB / 0.9037 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2549, allocations: 4 kB / 0.9038 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.2549, allocations: 0 / 0.9038 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2549, allocations: 0 / 0.9038 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2549, allocations: 0 / 0.9038 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.2551, allocations: 175.5 kB / 0.9039 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.031e-05/0.2551, allocations: 77.11 kB / 0.904 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.2552, allocations: 4 kB / 0.904 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.593e-05/0.2553, allocations: 11.98 kB / 0.904 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.2553, allocations: 7.984 kB / 0.904 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.2553, allocations: 0 / 0.904 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.196e-05/0.2553, allocations: 79.28 kB / 0.9041 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2553, allocations: 11.91 kB / 0.9041 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002077/0.2556, allocations: 4 kB / 0.9041 GB, free: 59.58 MB / 0.6042 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.0003833/0.2559, allocations: 0.7124 MB / 0.9048 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001894/0.2561, allocations: 43.95 kB / 0.9048 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.2562, allocations: 4.094 kB / 0.9048 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.256e-05/0.2562, allocations: 31.92 kB / 0.9049 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.2565, allocations: 1.969 kB / 0.9049 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003345/0.2568, allocations: 138.3 kB / 0.905 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.257, allocations: 0.6849 MB / 0.9057 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.624e-05/0.257, allocations: 0 / 0.9057 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.272e-05/0.257, allocations: 11.44 kB / 0.9057 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/0.2571, allocations: 0 / 0.9057 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01137/0.2684, allocations: 1.083 MB / 0.9067 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/0.2686, allocations: 216.6 kB / 0.907 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/1.876, allocations: 0 / 0.907 GB, free: 56.71 MB / 0.6042 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)