Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001237, allocations: 107.5 kB / 16.36 MB, free: 5.996 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.00129/0.00129, allocations: 193.6 kB / 17.3 MB, free: 5.605 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.467/1.467, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.898/1.898, allocations: 292.3 MB / 0.5496 GB, free: 17.58 MB / 462.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.001425/0.001425, allocations: 71.91 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2507, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.003005/0.2537, allocations: 1.022 MB / 0.7858 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002029/0.2558, allocations: 1.312 MB / 0.7871 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.983e-05/0.2559, allocations: 0 / 0.7871 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.531e-05/0.256, allocations: 15.8 kB / 0.7871 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001468/0.2562, allocations: 35.66 kB / 0.7871 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008491/0.257, allocations: 272.8 kB / 0.7874 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004066/0.2574, allocations: 335.3 kB / 0.7877 GB, free: 192 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.2576, allocations: 41.66 kB / 0.7878 GB, free: 152 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001707/0.2578, allocations: 131.7 kB / 0.7879 GB, free: 20 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4786/0.7364, allocations: 115.9 kB / 0.788 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.7365, allocations: 33 kB / 0.788 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.7367, allocations: 45.41 kB / 0.7881 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.935e-05/0.7367, allocations: 38.06 kB / 0.7881 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.7369, allocations: 126.4 kB / 0.7882 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003627/0.7373, allocations: 336.9 kB / 0.7885 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.7373, allocations: 0 / 0.7885 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.524e-06/0.7373, allocations: 0 / 0.7885 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.7373, allocations: 3.25 kB / 0.7885 GB, free: 46.66 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007961/0.7381, allocations: 0.5565 MB / 0.7891 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.7382, allocations: 12.84 kB / 0.7891 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.753e-05/0.7382, allocations: 23.81 kB / 0.7891 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006643/0.7389, allocations: 313.4 kB / 0.7894 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.739, allocations: 12.19 kB / 0.7894 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.275e-05/0.739, allocations: 19.28 kB / 0.7895 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.7393, allocations: 136.4 kB / 0.7896 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.7393, allocations: 3.938 kB / 0.7896 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.7393, allocations: 2.625 kB / 0.7896 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.7393, allocations: 4.562 kB / 0.7896 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002141/0.7395, allocations: 72.44 kB / 0.7897 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006334/0.7402, allocations: 0.6439 MB / 0.7903 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/0.7405, allocations: 141.2 kB / 0.7904 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.7407, allocations: 58.39 kB / 0.7905 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.7407, allocations: 8.234 kB / 0.7905 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002914/0.741, allocations: 145.5 kB / 0.7906 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 1.502e-06/0.741, allocations: 0 / 0.7906 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.0005222/0.7415, allocations: 205.2 kB / 0.7908 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.7416, allocations: 106.7 kB / 0.7909 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.7417, allocations: 200.9 kB / 0.7911 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.507e-05/0.7418, allocations: 36.36 kB / 0.7912 GB, free: 45 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.163e-05/0.7419, allocations: 131 kB / 0.7913 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.7419, allocations: 33.09 kB / 0.7913 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.742, allocations: 64.8 kB / 0.7914 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.186e-05/0.7421, allocations: 329.4 kB / 0.7917 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.7423, allocations: 94.44 kB / 0.7918 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.7426, allocations: 163 kB / 0.7919 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003239/0.7429, allocations: 228.8 kB / 0.7921 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.7429, allocations: 0 / 0.7921 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006054/0.7435, allocations: 354.7 kB / 0.7925 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.766e-05/0.7436, allocations: 62.69 kB / 0.7925 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.7436, allocations: 3.844 kB / 0.7925 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.7436, allocations: 3.219 kB / 0.7926 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.33e-05/0.7437, allocations: 21.38 kB / 0.7926 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.7437, allocations: 7.906 kB / 0.7926 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003758/0.7441, allocations: 67.75 kB / 0.7926 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.7442, allocations: 20.33 kB / 0.7927 GB, free: 44.19 MB / 0.6544 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,pul.booPul.y,$PRE.pul.booPul.y,hysteresis1.y,$PRE.hysteresis1.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y,hysteresis2.y,$PRE.hysteresis2.y,hysteresis.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.7443, allocations: 136.8 kB / 0.7928 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.7443, allocations: 18.92 kB / 0.7928 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.7446, allocations: 94.55 kB / 0.7929 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.7446, allocations: 2.625 kB / 0.7929 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.7446, allocations: 3.938 kB / 0.7929 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.7446, allocations: 5.859 kB / 0.7929 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.7448, allocations: 233.1 kB / 0.7931 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.7448, allocations: 1.938 kB / 0.7931 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.859e-05/0.7449, allocations: 20.81 kB / 0.7932 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.7449, allocations: 2.625 kB / 0.7932 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.7449, allocations: 6.562 kB / 0.7932 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.7449, allocations: 0.7188 kB / 0.7932 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.7449, allocations: 7.266 kB / 0.7932 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.7452, allocations: 191.3 kB / 0.7934 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.929e-05/0.7453, allocations: 100.3 kB / 0.7935 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.7453, allocations: 4.75 kB / 0.7935 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.7454, allocations: 15.23 kB / 0.7935 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.443e-05/0.7455, allocations: 33.97 kB / 0.7935 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.7456, allocations: 8.578 kB / 0.7935 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.95e-05/0.7457, allocations: 136 kB / 0.7936 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7457, allocations: 0 / 0.7936 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002771/0.7459, allocations: 41.16 kB / 0.7937 GB, free: 43.56 MB / 0.6544 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 (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.0001718/0.7461, allocations: 118.4 kB / 0.7938 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005084/0.7466, allocations: 315.1 kB / 0.7941 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7466, allocations: 2.062 kB / 0.7941 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.7468, allocations: 69.61 kB / 0.7942 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.7471, allocations: 38.11 kB / 0.7942 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004432/0.7476, allocations: 289.5 kB / 0.7945 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.7477, allocations: 0.7172 MB / 0.7952 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001055/0.7479, allocations: 27.34 kB / 0.7952 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.8e-05/0.7479, allocations: 21.06 kB / 0.7952 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of SimCode: time 3.91e-07/0.7479, allocations: 4 kB / 0.7952 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of Templates: time 0.006711/0.7546, allocations: 3.258 MB / 0.7984 GB, free: 42.3 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)