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.253/5.253, allocations: 0.5623 GB / 0.5776 GB, free: 3.332 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.002477/0.002477, allocations: 358.1 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.485/4.485, 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.001947/0.001947, allocations: 175 kB / 1.226 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0008267/0.0008269, allocations: 23.98 kB / 1.349 GB, free: 8.211 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8108/0.8117, 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.001331/0.8131, allocations: 0.7046 MB / 1.462 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001923/0.815, allocations: 1.243 MB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.8152, allocations: 9.125 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.136e-05/0.8152, allocations: 11.86 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001517/0.8154, allocations: 28.53 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009256/0.8163, allocations: 216.5 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003006/0.8166, allocations: 260 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.8168, allocations: 35.19 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.8169, allocations: 99.61 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.8171, allocations: 92.67 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.702e-05/0.8172, allocations: 12 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.8173, allocations: 23.98 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.666e-05/0.8173, allocations: 38.2 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.872e-05/0.8174, allocations: 57.64 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003038/0.8177, allocations: 253.4 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.8177, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.265e-06/0.8178, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.8178, allocations: 0 / 1.464 GB, free: 281.2 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.0009226/0.8187, allocations: 0.5212 MB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.8188, allocations: 11.62 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.273e-05/0.8189, allocations: 28.5 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.8201, allocations: 324.2 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.274e-05/0.8201, allocations: 12 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.285e-05/0.8202, allocations: 20 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000425/0.8206, allocations: 134 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.8207, allocations: 2.125 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.8207, allocations: 11.94 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.8207, allocations: 4 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003883/0.8211, allocations: 77.23 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009322/0.8221, allocations: 0.6372 MB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000527/0.8226, allocations: 153.3 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/0.8228, allocations: 55.72 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.8229, allocations: 4.562 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003941/0.8233, allocations: 153.4 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 2.925e-06/0.8233, allocations: 0 / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.0008688/0.8242, allocations: 209.8 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.8243, allocations: 114.8 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.8245, allocations: 182.1 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.101e-05/0.8245, allocations: 41.7 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.8247, allocations: 129.9 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.535e-05/0.8247, allocations: 35.55 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.8248, allocations: 8 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.038e-05/0.8249, allocations: 331.5 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003801/0.8253, allocations: 92.94 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000401/0.8257, allocations: 167.9 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003793/0.8261, allocations: 145 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.8261, allocations: 4.5 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001021/0.8271, allocations: 363.3 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.466e-05/0.8272, allocations: 59.41 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.8272, allocations: 8.688 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.8273, allocations: 0 / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.8274, allocations: 21.27 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.8275, allocations: 11.92 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007076/0.8282, allocations: 90.09 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.928e-05/0.8282, allocations: 24.81 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.0001837/0.8284, allocations: 136.8 kB / 1.469 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.8285, allocations: 19.8 kB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004395/0.8289, allocations: 98.58 kB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.829, allocations: 5.906 kB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.829, allocations: 0 / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.931e-05/0.829, allocations: 92.92 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.655e-05/0.8291, allocations: 6.062 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.8293, allocations: 23.92 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.557e-05/0.8294, allocations: 21.05 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006887/0.8301, allocations: 410.2 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005854/0.8307, allocations: 0.4911 MB / 1.47 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002493/0.831, allocations: 61.92 kB / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001291/0.8311, allocations: 138 kB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of Backend: time 8.52e-07/0.8311, allocations: 0.5938 kB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001261/0.8324, allocations: 363.4 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0009729/0.8334, allocations: 0.7742 MB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.009124/0.8425, allocations: 2.988 MB / 1.474 GB, free: 271.3 MB / 0.8542 GB