Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009336/0.0009336, allocations: 80.92 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009909/0.0009909, allocations: 161 kB / 24.17 MB, free: 324 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9529/0.9529, allocations: 177.1 MB / 204.6 MB, free: 4.957 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.995/1.995, allocations: 389.6 MB / 0.6354 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.806e-06/2.806e-06, allocations: 0 / 0.7752 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.965e-05/3.245e-05, allocations: 3.922 kB / 0.7752 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002465/0.002497, allocations: 0.8447 MB / 0.776 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.003956, allocations: 0.9412 MB / 0.777 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.105e-05/0.004027, allocations: 3.203 kB / 0.777 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.305e-05/0.00407, allocations: 11.86 kB / 0.777 GB, free: 3.539 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001382/0.004208, allocations: 26.69 kB / 0.777 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.004483, allocations: 44.59 kB / 0.777 GB, free: 3.477 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000183/0.004666, allocations: 121.1 kB / 0.7772 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.00478, allocations: 22.45 kB / 0.7772 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.005008, allocations: 83.73 kB / 0.7773 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.311e-05/0.005081, allocations: 38.17 kB / 0.7773 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.005098, allocations: 4 kB / 0.7773 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 4.39e-05/0.005142, allocations: 8 kB / 0.7773 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.278e-05/0.005165, allocations: 23.84 kB / 0.7773 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.519e-05/0.00519, allocations: 23.94 kB / 0.7774 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.005322, allocations: 75.66 kB / 0.7774 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.005325, allocations: 6.688 kB / 0.7774 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.32e-07/0.005326, allocations: 0 / 0.7774 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.005331, allocations: 0 / 0.7774 GB, free: 3.094 MB / 0.7292 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.0003611/0.005692, allocations: 304.4 kB / 0.7777 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.005728, allocations: 13.34 kB / 0.7777 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.005869, allocations: 24.91 kB / 0.7778 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.006026, allocations: 152.4 kB / 0.7779 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002878/0.006314, allocations: 8.359 kB / 0.7779 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.00633, allocations: 12.38 kB / 0.7779 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.006467, allocations: 100.2 kB / 0.778 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.006475, allocations: 192 / 0.778 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.006484, allocations: 4.375 kB / 0.778 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.006491, allocations: 4.375 kB / 0.778 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.772e-05/0.006529, allocations: 20.55 kB / 0.7781 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002983/0.006827, allocations: 349.2 kB / 0.7784 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.327e-05/0.006921, allocations: 80.81 kB / 0.7785 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.729e-05/0.006948, allocations: 27.3 kB / 0.7785 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.006968, allocations: 8 kB / 0.7785 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.006993, allocations: 39.98 kB / 0.7785 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.006994, allocations: 0 / 0.7785 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0001615/0.007155, allocations: 70.55 kB / 0.7786 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.007201, allocations: 110.8 kB / 0.7787 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.664e-05/0.007277, allocations: 149.8 kB / 0.7789 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.007295, allocations: 29.7 kB / 0.7789 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.506e-05/0.00733, allocations: 96.73 kB / 0.779 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.007359, allocations: 31.73 kB / 0.779 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.007393, allocations: 26.61 kB / 0.779 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.764e-05/0.007471, allocations: 322.8 kB / 0.7793 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.242e-05/0.007493, allocations: 17.33 kB / 0.7794 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.999e-05/0.007523, allocations: 34.5 kB / 0.7794 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.295e-05/0.007576, allocations: 38.55 kB / 0.7794 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.007578, allocations: 0.6875 kB / 0.7794 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.169e-05/0.00766, allocations: 78.3 kB / 0.7795 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.007674, allocations: 13.59 kB / 0.7795 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.00768, allocations: 3.984 kB / 0.7795 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.007692, allocations: 0 / 0.7795 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.473e-05/0.007757, allocations: 8 kB / 0.7795 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.007761, allocations: 4.875 kB / 0.7795 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.246e-05/0.007793, allocations: 0 / 0.7795 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.639e-06/0.007803, allocations: 11.98 kB / 0.7795 GB, free: 0.7344 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (hysteresis.y,$PRE.hysteresis.y,hysteresis1.y,$PRE.hysteresis1.y,hysteresis2.y,$PRE.hysteresis2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 7.101e-05/0.007874, allocations: 119 kB / 0.7797 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.718e-05/0.007911, allocations: 11.94 kB / 0.7797 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.213e-05/0.007993, allocations: 63.64 kB / 0.7797 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.007996, allocations: 4 kB / 0.7797 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.008, allocations: 8 kB / 0.7797 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.008003, allocations: 0 / 0.7797 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.008158, allocations: 90.69 kB / 0.7798 GB, free: 420 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.008159, allocations: 0 / 0.7798 GB, free: 420 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.11e-05/0.00819, allocations: 9.188 kB / 0.7798 GB, free: 412 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.008193, allocations: 4 kB / 0.7798 GB, free: 408 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-06/0.008199, allocations: 0 / 0.7798 GB, free: 408 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.008201, allocations: 3.984 kB / 0.7798 GB, free: 404 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.008203, allocations: 9.625 kB / 0.7798 GB, free: 396 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.008336, allocations: 310.1 kB / 0.7801 GB, free: 68 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.068e-05/0.008347, allocations: 7.953 kB / 0.7801 GB, free: 60 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.008364, allocations: 5.219 kB / 0.7802 GB, free: 56 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.918e-05/0.008443, allocations: 4 kB / 0.7802 GB, free: 52 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.008499, allocations: 27.89 kB / 0.7802 GB, free: 24 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.008505, allocations: 4.641 kB / 0.7802 GB, free: 20 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.519e-05/0.00855, allocations: 35.72 kB / 0.7802 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00855, allocations: 1.125 kB / 0.7802 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001845/0.008735, allocations: 12 kB / 0.7802 GB, free: 15.97 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (hysteresis.y,hysteresis1.y,hysteresis2.y) * Number of discrete states: 3 (hysteresis2.y,hysteresis1.y,hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001096/0.008844, allocations: 88.89 kB / 0.7803 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.598e-05/0.00893, allocations: 42.91 kB / 0.7804 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.008933, allocations: 0 / 0.7804 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.6e-05/0.008969, allocations: 32.78 kB / 0.7804 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.009209, allocations: 19.67 kB / 0.7804 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000287/0.009496, allocations: 199.2 kB / 0.7806 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.883e-05/0.009545, allocations: 64.03 kB / 0.7807 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.052e-05/0.009595, allocations: 18.36 kB / 0.7807 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.482e-05/0.00966, allocations: 67.36 kB / 0.7807 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of SimCode: time 6.51e-07/0.009661, allocations: 0 / 0.7807 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of Templates: time 0.00342/0.01308, allocations: 1.21 MB / 0.7819 GB, free: 14.24 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.035260824020952]