Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.306/1.306, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009667/0.0009668, allocations: 183.2 kB / 327.6 MB, free: 2.168 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.628/1.628, allocations: 205.4 MB / 0.5785 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008501/0.0008502, allocations: 86.8 kB / 0.6831 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004397/0.00044, allocations: 17 kB / 0.7974 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2344, allocations: 106.3 MB / 0.9012 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1758/0.4102, allocations: 132.2 MB / 1.03 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.4105, allocations: 71.95 kB / 1.03 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00663/0.4172, allocations: 2.135 MB / 1.032 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.774e-06/0.4172, allocations: 0 / 1.032 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.321e-05/0.4172, allocations: 4 kB / 1.032 GB, free: 9.133 MB / 0.6823 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.0009303/0.4182, allocations: 0.4949 MB / 1.033 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.4182, allocations: 12.03 kB / 1.033 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.611e-05/0.4183, allocations: 20.75 kB / 1.033 GB, free: 8.555 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.4185, allocations: 184.8 kB / 1.033 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.4185, allocations: 12.36 kB / 1.033 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/0.4185, allocations: 12.38 kB / 1.033 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004842/0.419, allocations: 189.8 kB / 1.033 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.419, allocations: 192 / 1.033 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.4191, allocations: 7.938 kB / 1.033 GB, free: 8.105 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.4191, allocations: 0 / 1.033 GB, free: 8.105 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005452/0.4196, allocations: 183.8 kB / 1.034 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.4207, allocations: 0.5984 MB / 1.034 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005658/0.4213, allocations: 225.4 kB / 1.034 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003243/0.4216, allocations: 110.5 kB / 1.034 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.4216, allocations: 7.938 kB / 1.034 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004839/0.4221, allocations: 189.8 kB / 1.035 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 3.807e-06/0.4221, allocations: 0 / 1.035 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.0009734/0.4231, allocations: 337.2 kB / 1.035 GB, free: 6.355 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.542e-05/0.4232, allocations: 110.8 kB / 1.035 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.4234, allocations: 170.1 kB / 1.035 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.4234, allocations: 33.7 kB / 1.035 GB, free: 6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.957e-05/0.4235, allocations: 112.3 kB / 1.035 GB, free: 5.883 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.195e-05/0.4236, allocations: 51.45 kB / 1.035 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.318e-06/0.4236, allocations: 0 / 1.035 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.4237, allocations: 330.8 kB / 1.036 GB, free: 5.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/0.424, allocations: 103.9 kB / 1.036 GB, free: 5.398 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003272/0.4244, allocations: 160 kB / 1.036 GB, free: 5.227 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005384/0.4249, allocations: 206.4 kB / 1.036 GB, free: 5.016 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.4249, allocations: 0 / 1.036 GB, free: 5.016 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006892/0.4256, allocations: 277.2 kB / 1.036 GB, free: 4.738 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.4257, allocations: 8 kB / 1.036 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.4257, allocations: 0 / 1.036 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.4257, allocations: 4 kB / 1.036 GB, free: 4.727 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.4259, allocations: 51.89 kB / 1.037 GB, free: 4.676 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.426, allocations: 4 kB / 1.037 GB, free: 4.672 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/0.4262, allocations: 63.94 kB / 1.037 GB, free: 4.609 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.4263, allocations: 7.938 kB / 1.037 GB, free: 4.602 MB / 0.6823 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.0001327/0.4264, allocations: 133.8 kB / 1.037 GB, free: 4.461 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.4264, allocations: 15.81 kB / 1.037 GB, free: 4.445 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002711/0.4267, allocations: 106.9 kB / 1.037 GB, free: 4.336 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.4267, allocations: 4.031 kB / 1.037 GB, free: 4.332 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.4268, allocations: 4 kB / 1.037 GB, free: 4.328 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.4268, allocations: 4 kB / 1.037 GB, free: 4.324 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.427, allocations: 234 kB / 1.037 GB, free: 4.047 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.427, allocations: 0 / 1.037 GB, free: 4.047 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.4272, allocations: 39.95 kB / 1.037 GB, free: 4.008 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.4272, allocations: 4 kB / 1.037 GB, free: 4.004 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.4272, allocations: 4 kB / 1.037 GB, free: 4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.4272, allocations: 4 kB / 1.037 GB, free: 3.996 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.4272, allocations: 4 kB / 1.037 GB, free: 3.992 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006281/0.4279, allocations: 286.3 kB / 1.037 GB, free: 3.688 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/0.4279, allocations: 92.92 kB / 1.037 GB, free: 3.578 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.44e-05/0.428, allocations: 4 kB / 1.037 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.4282, allocations: 51.94 kB / 1.038 GB, free: 3.523 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.4283, allocations: 51.86 kB / 1.038 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.4284, allocations: 4 kB / 1.038 GB, free: 3.469 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.652e-05/0.4285, allocations: 120.9 kB / 1.038 GB, free: 3.352 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4285, allocations: 0 / 1.038 GB, free: 3.352 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002481/0.4287, allocations: 35.98 kB / 1.038 GB, free: 3.316 MB / 0.6823 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.0001764/0.4289, allocations: 111.2 kB / 1.038 GB, free: 3.195 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006891/0.4296, allocations: 232.1 kB / 1.038 GB, free: 2.969 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.4296, allocations: 4.188 kB / 1.038 GB, free: 2.965 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000367/0.43, allocations: 127.8 kB / 1.038 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.4303, allocations: 31.91 kB / 1.038 GB, free: 2.809 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006432/0.4309, allocations: 292.4 kB / 1.039 GB, free: 2.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.4312, allocations: 0.7166 MB / 1.039 GB, free: 1.754 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000106/0.4314, allocations: 17.55 kB / 1.039 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.503e-05/0.4314, allocations: 27.42 kB / 1.039 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of SimCode: time 2.094e-06/0.4314, allocations: 0 / 1.039 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of Templates: time 0.005007/0.4365, allocations: 2.15 MB / 1.041 GB, free: 15.57 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)