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.GreaterEqualThreshold.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.GreaterEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009725/0.009725, allocations: 100.5 kB / 15.73 MB, free: 6.008 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.00225/0.00225, allocations: 195.4 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.726/1.726, allocations: 205.1 MB / 222.6 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.678/1.678, allocations: 251.7 MB / 0.5094 GB, free: 3.047 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.001379/0.001379, allocations: 63.91 kB / 0.7258 GB, free: 8.953 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2561, allocations: 104.7 MB / 0.8281 GB, free: 140 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold): time 0.002672/0.2588, allocations: 1.365 MB / 0.8294 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00032/0.2592, allocations: 104.9 kB / 0.8295 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.411e-05/0.2592, allocations: 0 / 0.8295 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.58e-05/0.2592, allocations: 0 / 0.8295 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.818e-05/0.2593, allocations: 7.922 kB / 0.8296 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 4.851e-05/0.2594, allocations: 7.984 kB / 0.8296 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.002e-05/0.2594, allocations: 27.92 kB / 0.8296 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.2595, allocations: 8 kB / 0.8296 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.335e-05/0.2596, allocations: 11.92 kB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.398e-05/0.2597, allocations: 8 kB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.2597, allocations: 4 kB / 0.8296 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.26e-06/0.2597, allocations: 0 / 0.8296 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.932e-05/0.2597, allocations: 11.92 kB / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.402e-05/0.2597, allocations: 7.938 kB / 0.8296 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 7.755e-05/0.2598, allocations: 27.95 kB / 0.8297 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2598, allocations: 0 / 0.8297 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2598, allocations: 0 / 0.8297 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.2598, allocations: 0 / 0.8297 GB, free: 14.54 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.000457/0.2603, allocations: 355.3 kB / 0.83 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.2604, allocations: 8.031 kB / 0.83 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.192e-05/0.2604, allocations: 12.78 kB / 0.83 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.2605, allocations: 168.4 kB / 0.8302 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.2605, allocations: 384 / 0.8302 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.2606, allocations: 4.375 kB / 0.8302 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.2607, allocations: 46.23 kB / 0.8302 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.2607, allocations: 4.188 kB / 0.8302 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.2608, allocations: 7.938 kB / 0.8302 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2608, allocations: 0 / 0.8302 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.2609, allocations: 31.95 kB / 0.8303 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003229/0.2613, allocations: 248.9 kB / 0.8305 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.2614, allocations: 38.5 kB / 0.8305 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.445e-05/0.2615, allocations: 32.89 kB / 0.8306 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.2615, allocations: 0 / 0.8306 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.2616, allocations: 30.56 kB / 0.8306 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.2616, allocations: 0 / 0.8306 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003374/0.2619, allocations: 93.58 kB / 0.8307 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.262, allocations: 51.41 kB / 0.8307 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.2621, allocations: 97.86 kB / 0.8308 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.2621, allocations: 29.7 kB / 0.8309 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.334e-05/0.2622, allocations: 84.12 kB / 0.8309 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.2622, allocations: 7.938 kB / 0.831 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.2623, allocations: 13.72 kB / 0.831 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.2624, allocations: 310.8 kB / 0.8313 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.901e-05/0.2624, allocations: 20.02 kB / 0.8313 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.304e-05/0.2625, allocations: 19.97 kB / 0.8313 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.2627, allocations: 32.83 kB / 0.8313 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2627, allocations: 0 / 0.8313 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001819/0.2629, allocations: 85.5 kB / 0.8314 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.2629, allocations: 4 kB / 0.8314 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.2629, allocations: 0 / 0.8314 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.2629, allocations: 0 / 0.8314 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.444e-05/0.263, allocations: 8 kB / 0.8314 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.263, allocations: 3.984 kB / 0.8314 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.285e-05/0.2631, allocations: 4 kB / 0.8314 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.2631, allocations: 0 / 0.8314 GB, free: 12.49 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 (greEquThr.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 7.261e-05/0.2632, allocations: 117.8 kB / 0.8315 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.121e-05/0.2632, allocations: 4 kB / 0.8315 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.62e-05/0.2632, allocations: 11.11 kB / 0.8316 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2633, allocations: 0 / 0.8316 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2633, allocations: 0 / 0.8316 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.2633, allocations: 3.938 kB / 0.8316 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.2634, allocations: 161.6 kB / 0.8317 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2635, allocations: 0 / 0.8317 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.116e-05/0.2635, allocations: 8.234 kB / 0.8317 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2635, allocations: 0 / 0.8317 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.2635, allocations: 8 kB / 0.8317 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2635, allocations: 0 / 0.8317 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2635, allocations: 0 / 0.8317 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.2638, allocations: 167.4 kB / 0.8319 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.825e-05/0.2638, allocations: 81.02 kB / 0.832 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.2639, allocations: 4 kB / 0.832 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.546e-05/0.2639, allocations: 12.02 kB / 0.832 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.264, allocations: 0 / 0.832 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.264, allocations: 0 / 0.832 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.555e-05/0.264, allocations: 87.27 kB / 0.8321 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2641, allocations: 0 / 0.8321 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000202/0.2643, allocations: 4 kB / 0.8321 GB, free: 11.74 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 (greEquThr.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.0001532/0.2644, allocations: 99.25 kB / 0.8322 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002262/0.2646, allocations: 47.89 kB / 0.8322 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2647, allocations: 0 / 0.8322 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.226e-05/0.2647, allocations: 19.98 kB / 0.8322 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.2651, allocations: 3.938 kB / 0.8322 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003179/0.2654, allocations: 109.6 kB / 0.8323 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.2657, allocations: 0.6884 MB / 0.833 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.457e-05/0.2657, allocations: 0 / 0.833 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.578e-05/0.2657, allocations: 7.438 kB / 0.833 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of SimCode: time 2.8e-07/0.2657, allocations: 0 / 0.833 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.002626/0.2684, allocations: 0.4913 MB / 0.8335 GB, free: 10.22 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe 2>&1)