Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.608/5.608, allocations: 0.5623 GB / 0.5776 GB, free: 3.305 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002611/0.00261, allocations: 359 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.57/4.57, allocations: 410.7 MB / 1.113 GB, free: 5.957 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001924/0.001924, allocations: 199.4 kB / 1.226 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005346/0.0005349, allocations: 16 kB / 1.349 GB, free: 8.18 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7868/0.7874, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.003132/0.7906, allocations: 1.582 MB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002431/0.7931, allocations: 0.9373 MB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.7933, allocations: 3.938 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003724/0.7937, allocations: 91.69 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0003065/0.794, allocations: 83.64 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004739/0.7945, allocations: 108.1 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002943/0.7948, allocations: 179.4 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.795, allocations: 30.3 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.7951, allocations: 63.64 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.7953, allocations: 82.08 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/0.7953, allocations: 4 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000199/0.7955, allocations: 55.89 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.7956, allocations: 51.77 kB / 1.465 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.508e-05/0.7957, allocations: 53.58 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003067/0.796, allocations: 202.3 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.796, allocations: 4 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.155e-06/0.7961, allocations: 0.75 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.7961, allocations: 0 / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008998/0.797, allocations: 0.506 MB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.797, allocations: 11.62 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.664e-05/0.7971, allocations: 31.66 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000449/0.7976, allocations: 290.4 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.7976, allocations: 4.938 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.7977, allocations: 8 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.7979, allocations: 82.48 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.7979, allocations: 1.625 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.798, allocations: 0 / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.798, allocations: 7.953 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.7981, allocations: 39.92 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008215/0.799, allocations: 422.7 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.7993, allocations: 88.06 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.611e-05/0.7994, allocations: 28.84 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.7995, allocations: 4.75 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000252/0.7998, allocations: 72.09 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 3.396e-06/0.7998, allocations: 0.5 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0004634/0.8002, allocations: 139.4 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.8003, allocations: 51.41 kB / 1.467 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004729/0.8008, allocations: 358.9 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.8008, allocations: 33.7 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.8009, allocations: 141.2 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.801, allocations: 23.73 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.398e-05/0.801, allocations: 4 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.823e-05/0.8011, allocations: 331.5 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.8013, allocations: 56.97 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.8015, allocations: 78.59 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.8016, allocations: 57.3 kB / 1.468 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.8016, allocations: 0 / 1.468 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004594/0.8021, allocations: 189.3 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.8022, allocations: 9.188 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.8022, allocations: 0 / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.8022, allocations: 0 / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.8024, allocations: 25.55 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.8024, allocations: 0 / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.8026, allocations: 19.92 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.629e-05/0.8027, allocations: 16.75 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,gre.y,$PRE.greHys.greHys.y,greHys.greHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 0.0001733/0.8029, allocations: 147.8 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.8029, allocations: 33.34 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.752e-05/0.803, allocations: 17.75 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.803, allocations: 3.984 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.8031, allocations: 0 / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.227e-05/0.8031, allocations: 106.5 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.456e-05/0.8032, allocations: 4 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.8033, allocations: 11.98 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.152e-05/0.8034, allocations: 18.75 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003884/0.8038, allocations: 181.2 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003221/0.8042, allocations: 288.1 kB / 1.469 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001088/0.8043, allocations: 27.98 kB / 1.469 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002889/0.8046, allocations: 229.9 kB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of Backend: time 1.112e-06/0.8046, allocations: 0.875 kB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001994/0.8066, allocations: 0.5438 MB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of SimCode: time 0.001136/0.8078, allocations: 0.8589 MB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.008923/0.8167, allocations: 2.698 MB / 1.473 GB, free: 272.8 MB / 0.8542 GB