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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.404/1.404, allocations: 252 MB / 267.6 MB, free: 10.91 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.001017/0.001017, allocations: 173 kB / 327.3 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.055/2.055, allocations: 205.4 MB / 0.5783 GB, free: 20.23 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.0007525/0.0007527, allocations: 102.2 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003192/0.0003193, allocations: 11.84 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2323, allocations: 106.3 MB / 0.9009 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.001479/0.2338, allocations: 1.089 MB / 0.9019 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002607/0.2341, allocations: 105.8 kB / 0.902 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.206e-05/0.2342, allocations: 0 / 0.902 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.491e-05/0.2342, allocations: 0 / 0.902 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.366e-05/0.2343, allocations: 7.938 kB / 0.902 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.684e-05/0.2343, allocations: 11.98 kB / 0.902 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.448e-05/0.2344, allocations: 15.94 kB / 0.9021 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.931e-05/0.2345, allocations: 7.984 kB / 0.9021 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.515e-05/0.2345, allocations: 4 kB / 0.9021 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.859e-05/0.2346, allocations: 11.92 kB / 0.9021 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.2346, allocations: 0 / 0.9021 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.676e-06/0.2346, allocations: 4 kB / 0.9021 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.172e-05/0.2346, allocations: 4 kB / 0.9021 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.901e-05/0.2347, allocations: 29.64 kB / 0.9021 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 4.93e-05/0.2347, allocations: 19.95 kB / 0.9021 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.2347, allocations: 4 kB / 0.9021 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2347, allocations: 0 / 0.9021 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.2347, allocations: 0 / 0.9021 GB, free: 62.52 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.0003929/0.2351, allocations: 339.3 kB / 0.9025 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.2352, allocations: 12.03 kB / 0.9025 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.567e-05/0.2352, allocations: 0 / 0.9025 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.959e-05/0.2353, allocations: 183.1 kB / 0.9026 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.2353, allocations: 0 / 0.9026 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.2354, allocations: 0 / 0.9026 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.2355, allocations: 53.67 kB / 0.9027 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2355, allocations: 3.938 kB / 0.9027 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.2356, allocations: 3.938 kB / 0.9027 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2356, allocations: 0 / 0.9027 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.2357, allocations: 55.89 kB / 0.9028 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.2361, allocations: 256.9 kB / 0.903 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.2362, allocations: 42.56 kB / 0.903 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.583e-05/0.2363, allocations: 24.91 kB / 0.9031 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.2363, allocations: 0 / 0.9031 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.2363, allocations: 38.56 kB / 0.9031 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.2363, allocations: 0 / 0.9031 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003458/0.2367, allocations: 97.7 kB / 0.9032 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.2367, allocations: 55.41 kB / 0.9032 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.165e-05/0.2368, allocations: 105.8 kB / 0.9033 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.148e-06/0.2368, allocations: 25.7 kB / 0.9034 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.94e-05/0.2369, allocations: 88.14 kB / 0.9035 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.366e-05/0.2369, allocations: 3.906 kB / 0.9035 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-06/0.2369, allocations: 0 / 0.9035 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.182e-05/0.237, allocations: 314.8 kB / 0.9038 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.746e-05/0.2371, allocations: 31.97 kB / 0.9038 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.148e-05/0.2371, allocations: 15.98 kB / 0.9038 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.146e-05/0.2372, allocations: 23.98 kB / 0.9038 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2372, allocations: 4.062 kB / 0.9038 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001799/0.2374, allocations: 77.59 kB / 0.9039 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.2374, allocations: 4 kB / 0.9039 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.2375, allocations: 0 / 0.9039 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.2375, allocations: 0 / 0.9039 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.915e-05/0.2376, allocations: 16.02 kB / 0.9039 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.2376, allocations: 0 / 0.9039 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.532e-05/0.2376, allocations: 8 kB / 0.9039 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.2377, allocations: 4 kB / 0.9039 GB, free: 60.46 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.112e-05/0.2377, allocations: 121.8 kB / 0.9041 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.2377, allocations: 3.906 kB / 0.9041 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.103e-05/0.2378, allocations: 11.12 kB / 0.9041 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.2378, allocations: 0 / 0.9041 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.2378, allocations: 0 / 0.9041 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.2378, allocations: 3.938 kB / 0.9041 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.2379, allocations: 161.6 kB / 0.9042 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.2379, allocations: 0 / 0.9042 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.292e-05/0.238, allocations: 8 kB / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.238, allocations: 0 / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.238, allocations: 0 / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.238, allocations: 0 / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.238, allocations: 8 kB / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.2382, allocations: 183.3 kB / 0.9044 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.064e-05/0.2383, allocations: 81.12 kB / 0.9045 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.2383, allocations: 4 kB / 0.9045 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.068e-05/0.2384, allocations: 8 kB / 0.9045 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.2384, allocations: 7.984 kB / 0.9045 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.2384, allocations: 0 / 0.9045 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.25e-05/0.2385, allocations: 83.28 kB / 0.9046 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2385, allocations: 0 / 0.9046 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001945/0.2387, allocations: 4 kB / 0.9046 GB, free: 59.69 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.0001418/0.2388, allocations: 107.2 kB / 0.9047 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002099/0.239, allocations: 47.91 kB / 0.9047 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.239, allocations: 0 / 0.9047 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.493e-05/0.2391, allocations: 28.05 kB / 0.9048 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.2394, allocations: 4.641 kB / 0.9048 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002869/0.2397, allocations: 138.3 kB / 0.9049 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.2399, allocations: 0.677 MB / 0.9056 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.957e-05/0.2399, allocations: 15.5 kB / 0.9056 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of SimCode: time 8.72e-07/0.2399, allocations: 0 / 0.9056 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of Templates: time 0.001748/0.2416, allocations: 0.5748 MB / 0.9061 GB, free: 58.05 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)