Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.249/2.249, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001502/0.001502, allocations: 179.3 kB / 325.6 MB, free: 2.832 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.579/2.579, allocations: 205.4 MB / 0.5766 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001153/0.001152, allocations: 95.02 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004668/0.0004669, allocations: 17.03 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.23, allocations: 106.3 MB / 0.8989 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.001831/0.2318, allocations: 1.288 MB / 0.9002 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006121/0.2325, allocations: 246.2 kB / 0.9004 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.684e-05/0.2326, allocations: 3.938 kB / 0.9004 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.943e-05/0.2326, allocations: 3.938 kB / 0.9004 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.2328, allocations: 31.89 kB / 0.9004 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.2331, allocations: 43.88 kB / 0.9005 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.2332, allocations: 91.81 kB / 0.9006 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.2334, allocations: 21.48 kB / 0.9006 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.2335, allocations: 55.81 kB / 0.9006 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.2336, allocations: 71.66 kB / 0.9007 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.277e-05/0.2337, allocations: 12 kB / 0.9007 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.011e-05/0.2337, allocations: 8 kB / 0.9007 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.188e-05/0.2337, allocations: 27.91 kB / 0.9007 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.228e-05/0.2338, allocations: 41.64 kB / 0.9008 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.234, allocations: 112 kB / 0.9009 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.234, allocations: 0 / 0.9009 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.663e-06/0.234, allocations: 0 / 0.9009 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.234, allocations: 0 / 0.9009 GB, free: 63.37 MB / 0.6042 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.001243/0.2353, allocations: 498.7 kB / 0.9014 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2353, allocations: 8.031 kB / 0.9014 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.85e-05/0.2354, allocations: 19.8 kB / 0.9014 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/0.2371, allocations: 342.5 kB / 0.9017 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.658e-05/0.2372, allocations: 11.98 kB / 0.9017 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.792e-05/0.2372, allocations: 12 kB / 0.9017 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000673/0.2379, allocations: 181.3 kB / 0.9019 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.238, allocations: 0 / 0.9019 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.238, allocations: 4 kB / 0.9019 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.238, allocations: 7.984 kB / 0.9019 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000925/0.239, allocations: 163.8 kB / 0.9021 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.2402, allocations: 0.5866 MB / 0.9027 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009411/0.2412, allocations: 211.8 kB / 0.9029 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.219e-05/0.2412, allocations: 4 kB / 0.9029 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006902/0.2419, allocations: 195.6 kB / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 2.575e-06/0.2419, allocations: 0 / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.001621/0.2436, allocations: 317.5 kB / 0.9034 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.2436, allocations: 110.8 kB / 0.9035 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.2438, allocations: 160 kB / 0.9036 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/0.2439, allocations: 33.7 kB / 0.9036 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.217e-05/0.244, allocations: 112.3 kB / 0.9038 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.764e-05/0.244, allocations: 51.5 kB / 0.9038 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.75e-05/0.244, allocations: 8 kB / 0.9038 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.615e-05/0.2441, allocations: 326.8 kB / 0.9041 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005064/0.2446, allocations: 95.78 kB / 0.9042 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005761/0.2452, allocations: 159 kB / 0.9044 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004963/0.2457, allocations: 79.89 kB / 0.9044 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.2458, allocations: 4 kB / 0.9044 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001128/0.2469, allocations: 269.2 kB / 0.9047 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.2469, allocations: 7.984 kB / 0.9047 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.247, allocations: 0 / 0.9047 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.247, allocations: 4 kB / 0.9047 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/0.2474, allocations: 47.91 kB / 0.9048 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.2474, allocations: 4 kB / 0.9048 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004479/0.2479, allocations: 43.86 kB / 0.9048 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/0.2479, allocations: 8 kB / 0.9048 GB, free: 59.07 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.hysteresis.y,hysteresis.y,$whenCondition2,$PRE.hysteresis1.y,hysteresis1.y,$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$whenCondition1,$PRE.hysteresis2.y,hysteresis2.y,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001336/0.2481, allocations: 145.7 kB / 0.905 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.475e-05/0.2481, allocations: 7.906 kB / 0.905 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003882/0.2485, allocations: 98.64 kB / 0.9051 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.2485, allocations: 0 / 0.9051 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.2485, allocations: 8 kB / 0.9051 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.2486, allocations: 0 / 0.9051 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.2488, allocations: 221.5 kB / 0.9053 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.2488, allocations: 4 kB / 0.9053 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003173/0.2491, allocations: 40.08 kB / 0.9053 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.2491, allocations: 0 / 0.9053 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.2492, allocations: 7.938 kB / 0.9053 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.2492, allocations: 7.938 kB / 0.9053 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2492, allocations: 0 / 0.9053 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.2502, allocations: 302.4 kB / 0.9056 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/0.2503, allocations: 89.2 kB / 0.9057 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.864e-05/0.2504, allocations: 8 kB / 0.9057 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004808/0.2509, allocations: 39.95 kB / 0.9057 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.251, allocations: 51.86 kB / 0.9058 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.2511, allocations: 11.97 kB / 0.9058 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.023e-05/0.2512, allocations: 118.8 kB / 0.9059 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2512, allocations: 0 / 0.9059 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003357/0.2515, allocations: 35.89 kB / 0.906 GB, free: 57.78 MB / 0.6042 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 ($whenCondition2,hysteresis1.y,pul.T_start,pul.count,$whenCondition1,hysteresis2.y,pul1.T_start,pul1.count,hysteresis.y) * Number of discrete states: 5 (hysteresis.y,pul1.count,hysteresis2.y,pul.count,hysteresis1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001564/0.2517, allocations: 109.1 kB / 0.9061 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001106/0.2528, allocations: 219.7 kB / 0.9063 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2528, allocations: 4 kB / 0.9063 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006128/0.2534, allocations: 111.9 kB / 0.9064 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.2537, allocations: 23.98 kB / 0.9064 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007958/0.2546, allocations: 297.9 kB / 0.9067 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001553/0.2547, allocations: 0.7167 MB / 0.9074 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001959/0.2549, allocations: 25.53 kB / 0.9074 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.255, allocations: 15.44 kB / 0.9074 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of SimCode: time 6.31e-07/0.2551, allocations: 4 kB / 0.9074 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of Templates: time 0.006352/0.2614, allocations: 1.949 MB / 0.9093 GB, free: 54.27 MB / 0.6042 GB