Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.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.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.275/5.275, allocations: 0.5623 GB / 0.5769 GB, free: 3.254 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.003833/0.003833, allocations: 359.7 kB / 0.644 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.373/4.373, allocations: 410.7 MB / 1.112 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.001902/0.001902, allocations: 171.1 kB / 1.225 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0008407/0.0008409, allocations: 20 kB / 1.348 GB, free: 8.242 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.601/0.6019, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.001028/0.603, allocations: 0.7038 MB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.6045, allocations: 1.251 MB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.489e-05/0.6046, allocations: 4 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.056e-05/0.6047, allocations: 10.84 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.6048, allocations: 27.78 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007303/0.6055, allocations: 219.2 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000219/0.6058, allocations: 255.4 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.6059, allocations: 38.02 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.606, allocations: 91.69 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.6062, allocations: 100.1 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.522e-05/0.6062, allocations: 13.5 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.095e-05/0.6063, allocations: 31.92 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.12e-05/0.6064, allocations: 23.84 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.162e-05/0.6065, allocations: 57.64 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.6067, allocations: 254 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.218e-06/0.6068, allocations: 0 / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.357e-06/0.6068, allocations: 0.6562 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.926e-06/0.6068, allocations: 0 / 1.464 GB, free: 281.3 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007057/0.6075, allocations: 0.5211 MB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.6075, allocations: 18.31 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.554e-05/0.6076, allocations: 23.81 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008067/0.6085, allocations: 321.7 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.457e-05/0.6085, allocations: 16.86 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.528e-05/0.6086, allocations: 20 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.6089, allocations: 134.5 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.6089, allocations: 1.641 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.6089, allocations: 8.828 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.812e-06/0.609, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002741/0.6092, allocations: 81.81 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007809/0.61, allocations: 0.6413 MB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004191/0.6105, allocations: 144.5 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.6107, allocations: 55.27 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.6107, allocations: 7.719 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003335/0.6111, allocations: 152.1 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 3.582e-06/0.6111, allocations: 1.25 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.0006963/0.6118, allocations: 215.2 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.6118, allocations: 111.9 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.612, allocations: 182.1 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.059e-05/0.6121, allocations: 46.66 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.847e-05/0.6122, allocations: 128.3 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.913e-05/0.6122, allocations: 32.8 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.6123, allocations: 8 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.458e-05/0.6124, allocations: 330.8 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003049/0.6127, allocations: 98.16 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003141/0.613, allocations: 162.9 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.6133, allocations: 153.9 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.68e-06/0.6133, allocations: 1.531 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008271/0.6142, allocations: 358.7 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.764e-05/0.6142, allocations: 67.39 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.456e-06/0.6143, allocations: 1.344 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.6143, allocations: 7.938 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.6144, allocations: 19.92 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.6144, allocations: 4.5 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000484/0.6149, allocations: 93.11 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-05/0.615, allocations: 16 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition4,$PRE.hysteresis1.y,hysteresis1.y,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.hysteresis2.y,hysteresis2.y,$PRE.pul1.booPul.y,pul1.booPul.y,$PRE.hysteresis.y,hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * 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.0001512/0.6152, allocations: 139.8 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.6152, allocations: 15.81 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003077/0.6155, allocations: 105.7 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.885e-06/0.6156, allocations: 1 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.107e-06/0.6156, allocations: 4 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.315e-06/0.6156, allocations: 0 / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.6158, allocations: 242.3 kB / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.703e-06/0.6158, allocations: 0 / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.6159, allocations: 21.33 kB / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.802e-06/0.616, allocations: 4 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.616, allocations: 3.984 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.616, allocations: 11.66 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.82e-06/0.616, allocations: 0 / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004065/0.6164, allocations: 197.3 kB / 1.468 GB, free: 276 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.6165, allocations: 97.61 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.6165, allocations: 4 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.6167, allocations: 16.64 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.653e-05/0.6168, allocations: 28.62 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.6168, allocations: 8 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001108/0.6169, allocations: 139.6 kB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.52e-07/0.6169, allocations: 3.938 kB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000402/0.6173, allocations: 44 kB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,hysteresis1.y,pul.booPul.y,$whenCondition1,$whenCondition2,hysteresis2.y,pul1.booPul.y,hysteresis.y) * Number of discrete states: 3 (hysteresis.y,hysteresis2.y,hysteresis1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001605/0.6175, allocations: 112.6 kB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006583/0.6182, allocations: 330.5 kB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.541e-06/0.6182, allocations: 4 kB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002125/0.6184, allocations: 72.41 kB / 1.469 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.6188, allocations: 39.91 kB / 1.469 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006032/0.6195, allocations: 344.2 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/0.6196, allocations: 0.7225 MB / 1.47 GB, free: 274 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001431/0.6198, allocations: 31.7 kB / 1.47 GB, free: 274 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.15e-05/0.6199, allocations: 20.34 kB / 1.47 GB, free: 274 MB / 0.8542 GB Notification: Performance of SimCode: time 1.616e-06/0.6199, allocations: 0 / 1.47 GB, free: 274 MB / 0.8542 GB Notification: Performance of Templates: time 0.007428/0.6273, allocations: 2.875 MB / 1.473 GB, free: 271.3 MB / 0.8542 GB