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.38/1.38, allocations: 252 MB / 267.3 MB, free: 10.86 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.001015/0.001015, allocations: 169.7 kB / 327 MB, free: 2.121 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.83/1.83, allocations: 205.4 MB / 0.578 GB, free: 20.09 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.0008905/0.0008905, allocations: 89.8 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003298, allocations: 13.91 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2222, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.001506/0.2237, allocations: 1.106 MB / 0.902 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003367/0.2241, allocations: 104.6 kB / 0.9021 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.429e-05/0.2242, allocations: 0 / 0.9021 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.199e-05/0.2242, allocations: 0 / 0.9021 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.723e-05/0.2243, allocations: 7.938 kB / 0.9021 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.612e-05/0.2244, allocations: 4 kB / 0.9021 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.041e-05/0.2244, allocations: 19.98 kB / 0.9021 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.2246, allocations: 4 kB / 0.9022 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.49e-05/0.2246, allocations: 19.84 kB / 0.9022 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.57e-05/0.2247, allocations: 7.984 kB / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.2247, allocations: 8 kB / 0.9022 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.067e-06/0.2247, allocations: 0 / 0.9022 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.2248, allocations: 3.938 kB / 0.9022 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.91e-05/0.2248, allocations: 37.64 kB / 0.9022 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.044e-05/0.2249, allocations: 15.95 kB / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.2249, allocations: 0 / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2249, allocations: 0 / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.2249, allocations: 0 / 0.9022 GB, free: 62.04 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.0004473/0.2254, allocations: 343.6 kB / 0.9026 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.2254, allocations: 12.03 kB / 0.9026 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.629e-05/0.2255, allocations: 34.69 kB / 0.9026 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.536e-05/0.2255, allocations: 4.844 kB / 0.9026 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.55e-05/0.2256, allocations: 168.6 kB / 0.9028 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.2256, allocations: 8.312 kB / 0.9028 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.2256, allocations: 4.375 kB / 0.9028 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.2258, allocations: 58.23 kB / 0.9028 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.2259, allocations: 7.875 kB / 0.9029 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.2259, allocations: 0 / 0.9029 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.2259, allocations: 0 / 0.9029 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.2261, allocations: 47.97 kB / 0.9029 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.2264, allocations: 249 kB / 0.9031 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.2265, allocations: 42.5 kB / 0.9032 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.406e-05/0.2266, allocations: 36.89 kB / 0.9032 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.2267, allocations: 0 / 0.9032 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.2267, allocations: 34.5 kB / 0.9032 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.2267, allocations: 0 / 0.9032 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003483/0.227, allocations: 97.64 kB / 0.9033 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.2271, allocations: 51.41 kB / 0.9034 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.381e-05/0.2272, allocations: 97.86 kB / 0.9035 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.676e-06/0.2272, allocations: 25.7 kB / 0.9035 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.159e-05/0.2272, allocations: 100.2 kB / 0.9036 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.2272, allocations: 7.969 kB / 0.9036 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-06/0.2272, allocations: 0 / 0.9036 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.825e-05/0.2273, allocations: 314.8 kB / 0.9039 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.125e-05/0.2274, allocations: 19.98 kB / 0.9039 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.055e-05/0.2275, allocations: 27.92 kB / 0.904 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.2276, allocations: 48.81 kB / 0.904 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2276, allocations: 3.938 kB / 0.904 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001968/0.2278, allocations: 81.64 kB / 0.9041 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.2279, allocations: 4 kB / 0.9041 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.2279, allocations: 0 / 0.9041 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.2279, allocations: 0 / 0.9041 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.09e-05/0.228, allocations: 11.98 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.228, allocations: 4.031 kB / 0.9041 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.584e-05/0.2281, allocations: 12.23 kB / 0.9041 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.2281, allocations: 7.922 kB / 0.9041 GB, free: 59.88 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.446e-05/0.2282, allocations: 117.7 kB / 0.9042 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.2282, allocations: 0 / 0.9042 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.044e-05/0.2282, allocations: 11.12 kB / 0.9042 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.2282, allocations: 3.984 kB / 0.9042 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.2282, allocations: 8 kB / 0.9043 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.2282, allocations: 0 / 0.9043 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.2284, allocations: 157.6 kB / 0.9044 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2284, allocations: 0 / 0.9044 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.57e-05/0.2284, allocations: 11.98 kB / 0.9044 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.2285, allocations: 7.922 kB / 0.9044 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.2285, allocations: 0 / 0.9044 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.2285, allocations: 0 / 0.9044 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2285, allocations: 0 / 0.9044 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.2287, allocations: 179.5 kB / 0.9046 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.278e-05/0.2287, allocations: 81.02 kB / 0.9047 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.2288, allocations: 0 / 0.9047 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.713e-05/0.2288, allocations: 16.02 kB / 0.9047 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.2289, allocations: 0 / 0.9047 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.2289, allocations: 7.938 kB / 0.9047 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.947e-05/0.2289, allocations: 87.27 kB / 0.9048 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2289, allocations: 0 / 0.9048 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002003/0.2291, allocations: 4 kB / 0.9048 GB, free: 59.11 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 (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.000428/0.2296, allocations: 0.7046 MB / 0.9055 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001959/0.2298, allocations: 51.98 kB / 0.9055 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2298, allocations: 0 / 0.9055 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.301e-05/0.2299, allocations: 27.92 kB / 0.9055 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.2302, allocations: 10.23 kB / 0.9056 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/0.2305, allocations: 142.3 kB / 0.9057 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.2306, allocations: 0.677 MB / 0.9064 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.413e-05/0.2307, allocations: 0 / 0.9064 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/0.2307, allocations: 11.44 kB / 0.9064 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of SimCode: time 5.41e-07/0.2307, allocations: 4 kB / 0.9064 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01044/0.2412, allocations: 1.081 MB / 0.9074 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001484/0.2414, allocations: 233.3 kB / 0.9076 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.709/1.95, allocations: 0 / 0.9076 GB, free: 56.22 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)