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.GreaterThreshold.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.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.496/1.496, allocations: 252 MB / 267.6 MB, free: 10.9 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.001386/0.001386, allocations: 178.6 kB / 327.3 MB, free: 2.191 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.754/1.754, allocations: 205.4 MB / 0.5783 GB, free: 20.5 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.0007796/0.0007798, allocations: 97.92 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000324/0.0003241, allocations: 15.53 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2414, allocations: 106.3 MB / 0.9009 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.001651/0.2431, allocations: 1.094 MB / 0.9019 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003427/0.2434, allocations: 101.8 kB / 0.902 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.2435, allocations: 8 kB / 0.902 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.419e-05/0.2435, allocations: 3.938 kB / 0.902 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.946e-05/0.2436, allocations: 0 / 0.902 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.055e-05/0.2437, allocations: 0 / 0.902 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.803e-05/0.2438, allocations: 23.92 kB / 0.9021 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.2439, allocations: 4 kB / 0.9021 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.062e-05/0.244, allocations: 11.92 kB / 0.9021 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.124e-05/0.2441, allocations: 4 kB / 0.9021 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.2441, allocations: 4 kB / 0.9021 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.957e-06/0.2441, allocations: 4 kB / 0.9021 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.355e-05/0.2442, allocations: 3.984 kB / 0.9021 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.246e-05/0.2442, allocations: 33.64 kB / 0.9021 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.679e-05/0.2443, allocations: 15.97 kB / 0.9021 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.2443, allocations: 0 / 0.9021 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.314e-06/0.2443, allocations: 0 / 0.9021 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.2443, allocations: 0 / 0.9021 GB, free: 62.93 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.0004965/0.2448, allocations: 347.3 kB / 0.9025 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.2449, allocations: 8.031 kB / 0.9025 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.2449, allocations: 0 / 0.9025 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.245, allocations: 175.2 kB / 0.9026 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.2451, allocations: 0 / 0.9026 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.2451, allocations: 0 / 0.9026 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.2454, allocations: 57.61 kB / 0.9027 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.2454, allocations: 4 kB / 0.9027 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.2454, allocations: 4 kB / 0.9027 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.2454, allocations: 3.984 kB / 0.9027 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002977/0.2457, allocations: 43.91 kB / 0.9027 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003666/0.2461, allocations: 268.8 kB / 0.903 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.2463, allocations: 38.56 kB / 0.903 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.2465, allocations: 36.89 kB / 0.9031 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.2466, allocations: 0 / 0.9031 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.2466, allocations: 30.56 kB / 0.9031 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 3.236e-06/0.2466, allocations: 0 / 0.9031 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0005388/0.2472, allocations: 105.6 kB / 0.9032 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.2472, allocations: 51.41 kB / 0.9033 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.803e-05/0.2473, allocations: 97.86 kB / 0.9033 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.819e-06/0.2473, allocations: 29.7 kB / 0.9034 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.841e-05/0.2474, allocations: 84.12 kB / 0.9035 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.2474, allocations: 7.906 kB / 0.9035 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-06/0.2474, allocations: 4.125 kB / 0.9035 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.438e-05/0.2475, allocations: 314.8 kB / 0.9038 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.2476, allocations: 19.98 kB / 0.9038 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.2478, allocations: 23.98 kB / 0.9038 GB, free: 61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.248, allocations: 24.03 kB / 0.9038 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.248, allocations: 0 / 0.9038 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000345/0.2483, allocations: 81.61 kB / 0.9039 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.2484, allocations: 4 kB / 0.9039 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.2484, allocations: 0 / 0.9039 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.2484, allocations: 4 kB / 0.9039 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.2485, allocations: 7.984 kB / 0.9039 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.2486, allocations: 4 kB / 0.9039 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.2487, allocations: 12.23 kB / 0.9039 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.2487, allocations: 0 / 0.9039 GB, free: 60.86 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 (greThr.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.548e-05/0.2488, allocations: 113.8 kB / 0.904 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/0.2488, allocations: 11.91 kB / 0.9041 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.088e-05/0.2489, allocations: 7.125 kB / 0.9041 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2489, allocations: 0 / 0.9041 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2489, allocations: 7.922 kB / 0.9041 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2489, allocations: 0 / 0.9041 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.249, allocations: 157.6 kB / 0.9042 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2491, allocations: 4 kB / 0.9042 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.948e-05/0.2491, allocations: 11.98 kB / 0.9042 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2492, allocations: 0 / 0.9042 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.2492, allocations: 4 kB / 0.9042 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2492, allocations: 3.938 kB / 0.9042 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2492, allocations: 0 / 0.9042 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/0.2496, allocations: 179.5 kB / 0.9044 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.371e-05/0.2496, allocations: 77.11 kB / 0.9045 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.2497, allocations: 4 kB / 0.9045 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.2498, allocations: 15.92 kB / 0.9045 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/0.2499, allocations: 0 / 0.9045 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.2499, allocations: 0 / 0.9045 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.068e-05/0.25, allocations: 91.3 kB / 0.9046 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.11e-07/0.25, allocations: 0 / 0.9046 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003817/0.2504, allocations: 4 kB / 0.9046 GB, free: 60.09 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 (greThr.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.0001409/0.2505, allocations: 99.25 kB / 0.9047 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003584/0.2509, allocations: 55.89 kB / 0.9047 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2509, allocations: 0 / 0.9047 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.2511, allocations: 23.98 kB / 0.9048 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/0.2515, allocations: 7.953 kB / 0.9048 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003072/0.2519, allocations: 142.4 kB / 0.9049 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.252, allocations: 0.677 MB / 0.9056 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.303e-05/0.2521, allocations: 7.438 kB / 0.9056 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of SimCode: time 3.71e-07/0.2521, allocations: 3.938 kB / 0.9056 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of Templates: time 0.002483/0.2546, allocations: 0.5694 MB / 0.9061 GB, free: 58.45 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1)