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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007068/0.007068, allocations: 101.1 kB / 15.73 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 194.5 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.803/1.803, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.876/1.876, allocations: 251.7 MB / 0.5094 GB, free: 3.039 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 67.91 kB / 0.7258 GB, free: 9 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2883, allocations: 104.7 MB / 0.8281 GB, free: 192 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.002441/0.2908, allocations: 1.368 MB / 0.8294 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003088/0.2911, allocations: 116.9 kB / 0.8296 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.856e-05/0.2912, allocations: 0 / 0.8296 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.915e-05/0.2912, allocations: 0 / 0.8296 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.048e-05/0.2913, allocations: 7.938 kB / 0.8296 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 5.833e-05/0.2913, allocations: 7.984 kB / 0.8296 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.519e-05/0.2914, allocations: 19.94 kB / 0.8296 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.2916, allocations: 11.98 kB / 0.8296 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.506e-05/0.2917, allocations: 7.938 kB / 0.8296 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.909e-05/0.2917, allocations: 15.98 kB / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.2917, allocations: 0 / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.576e-06/0.2917, allocations: 4 kB / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.2918, allocations: 11.92 kB / 0.8296 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.976e-05/0.2918, allocations: 11.92 kB / 0.8296 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.818e-05/0.2919, allocations: 23.97 kB / 0.8297 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2919, allocations: 0 / 0.8297 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2919, allocations: 0 / 0.8297 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.2919, allocations: 0 / 0.8297 GB, free: 14.57 MB / 0.6544 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.0005127/0.2924, allocations: 343.4 kB / 0.83 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.2925, allocations: 8.031 kB / 0.83 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.38e-05/0.2925, allocations: 12.83 kB / 0.83 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.2927, allocations: 168.3 kB / 0.8302 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.2927, allocations: 4.312 kB / 0.8302 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.2927, allocations: 384 / 0.8302 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.2929, allocations: 50.23 kB / 0.8302 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.2929, allocations: 192 / 0.8302 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.2929, allocations: 7.938 kB / 0.8302 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.293, allocations: 4 kB / 0.8302 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.2931, allocations: 27.97 kB / 0.8303 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003625/0.2935, allocations: 253 kB / 0.8305 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.2936, allocations: 38.44 kB / 0.8305 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.831e-05/0.2937, allocations: 32.89 kB / 0.8306 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.2937, allocations: 0 / 0.8306 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.2937, allocations: 30.56 kB / 0.8306 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.2937, allocations: 0 / 0.8306 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003333/0.2941, allocations: 85.55 kB / 0.8307 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.2941, allocations: 59.47 kB / 0.8307 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.2942, allocations: 101.9 kB / 0.8308 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.2943, allocations: 25.7 kB / 0.8309 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.163e-05/0.2943, allocations: 88.12 kB / 0.831 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.2943, allocations: 3.938 kB / 0.831 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.2944, allocations: 17.66 kB / 0.831 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.2945, allocations: 310.8 kB / 0.8313 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.479e-05/0.2946, allocations: 19.98 kB / 0.8313 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.16e-05/0.2947, allocations: 19.97 kB / 0.8313 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.2948, allocations: 32.83 kB / 0.8313 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2948, allocations: 0 / 0.8313 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001661/0.295, allocations: 81.78 kB / 0.8314 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.295, allocations: 8 kB / 0.8314 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.295, allocations: 0 / 0.8314 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.295, allocations: 8 kB / 0.8314 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.708e-05/0.2951, allocations: 4 kB / 0.8314 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2951, allocations: 0 / 0.8314 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.266e-05/0.2952, allocations: 7.984 kB / 0.8314 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.2952, allocations: 0 / 0.8314 GB, free: 12.53 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.068e-05/0.2953, allocations: 113.8 kB / 0.8316 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.2953, allocations: 7.984 kB / 0.8316 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.585e-05/0.2954, allocations: 11.06 kB / 0.8316 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.2954, allocations: 0 / 0.8316 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2954, allocations: 4 kB / 0.8316 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2954, allocations: 0 / 0.8316 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.2956, allocations: 157.6 kB / 0.8317 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2956, allocations: 0 / 0.8317 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.753e-05/0.2956, allocations: 7.984 kB / 0.8317 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.2956, allocations: 0 / 0.8317 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.2956, allocations: 0 / 0.8317 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.2957, allocations: 8 kB / 0.8317 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2957, allocations: 0 / 0.8317 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.2959, allocations: 167.4 kB / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.971e-05/0.2959, allocations: 81.02 kB / 0.832 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.2959, allocations: 0 / 0.832 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.577e-05/0.296, allocations: 12.02 kB / 0.832 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.2961, allocations: 7.984 kB / 0.832 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.2961, allocations: 0 / 0.832 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.009e-05/0.2961, allocations: 83.28 kB / 0.8321 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2961, allocations: 0 / 0.8321 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002085/0.2964, allocations: 4 kB / 0.8321 GB, free: 11.78 MB / 0.6544 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 (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.0001637/0.2965, allocations: 103.2 kB / 0.8322 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000204/0.2967, allocations: 39.95 kB / 0.8322 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2968, allocations: 0 / 0.8322 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.517e-05/0.2968, allocations: 23.92 kB / 0.8322 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.2971, allocations: 11.88 kB / 0.8322 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002836/0.2974, allocations: 105.6 kB / 0.8324 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.2977, allocations: 0.6846 MB / 0.833 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.526e-05/0.2977, allocations: 0 / 0.833 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.2977, allocations: 11.44 kB / 0.833 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of SimCode: time 2.01e-07/0.2977, allocations: 0 / 0.833 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of Templates: time 0.002717/0.3004, allocations: 0.5005 MB / 0.8335 GB, free: 10.25 MB / 0.6544 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)