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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00983/0.00983, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001811/0.001811, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.794/1.794, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.717/1.717, allocations: 251.7 MB / 0.5094 GB, free: 3.055 MB / 414.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.001625/0.001626, allocations: 72.42 kB / 0.7259 GB, free: 8.969 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3105, allocations: 104.7 MB / 0.8281 GB, free: 168 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.004053/0.3146, allocations: 1.625 MB / 0.8297 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008398/0.3155, allocations: 248 kB / 0.8299 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.3157, allocations: 4 kB / 0.8299 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.514e-05/0.3158, allocations: 15.81 kB / 0.8299 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.3159, allocations: 19.8 kB / 0.83 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003836/0.3163, allocations: 55.84 kB / 0.83 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002883/0.3166, allocations: 171.5 kB / 0.8302 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.3168, allocations: 25.5 kB / 0.8302 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001903/0.317, allocations: 63.83 kB / 0.8303 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.3172, allocations: 83.64 kB / 0.8303 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.863e-05/0.3173, allocations: 16 kB / 0.8304 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 3.522e-05/0.3173, allocations: 12 kB / 0.8304 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.166e-05/0.3174, allocations: 31.91 kB / 0.8304 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.3175, allocations: 75.58 kB / 0.8305 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.3178, allocations: 167.4 kB / 0.8306 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.3178, allocations: 0 / 0.8306 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.358e-06/0.3178, allocations: 0 / 0.8306 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.441e-05/0.3178, allocations: 7.938 kB / 0.8306 GB, free: 13.54 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.001224/0.319, allocations: 0.4908 MB / 0.8311 GB, free: 13 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.3191, allocations: 8.031 kB / 0.8311 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.842e-05/0.3192, allocations: 12.84 kB / 0.8311 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.3203, allocations: 321.8 kB / 0.8315 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.19e-05/0.3203, allocations: 12.33 kB / 0.8315 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.779e-05/0.3204, allocations: 12.36 kB / 0.8315 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004912/0.3209, allocations: 164.7 kB / 0.8316 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.3209, allocations: 3.938 kB / 0.8316 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.3209, allocations: 3.984 kB / 0.8316 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.321, allocations: 4 kB / 0.8316 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005242/0.3215, allocations: 135.8 kB / 0.8318 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.3227, allocations: 0.5749 MB / 0.8323 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005542/0.3232, allocations: 179.7 kB / 0.8325 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002808/0.3235, allocations: 86.59 kB / 0.8326 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.136e-05/0.3236, allocations: 4 kB / 0.8326 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005771/0.3242, allocations: 181.8 kB / 0.8328 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 1.824e-06/0.3242, allocations: 0 / 0.8328 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.001011/0.3252, allocations: 273.2 kB / 0.833 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.3253, allocations: 106.8 kB / 0.8331 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.3255, allocations: 163.3 kB / 0.8333 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.3256, allocations: 33.7 kB / 0.8333 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.658e-05/0.3257, allocations: 116.3 kB / 0.8334 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.014e-05/0.3257, allocations: 47.45 kB / 0.8335 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.3259, allocations: 49.56 kB / 0.8335 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.326, allocations: 330.8 kB / 0.8338 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002942/0.3263, allocations: 79.92 kB / 0.8339 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003043/0.3266, allocations: 134.3 kB / 0.834 GB, free: 9.762 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005189/0.3272, allocations: 158.3 kB / 0.8342 GB, free: 9.598 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/0.3272, allocations: 8.5 kB / 0.8342 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007312/0.3279, allocations: 229.3 kB / 0.8344 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.719e-05/0.328, allocations: 8 kB / 0.8344 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.328, allocations: 4 kB / 0.8344 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-05/0.328, allocations: 0 / 0.8344 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.3283, allocations: 51.89 kB / 0.8345 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.3283, allocations: 0 / 0.8345 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002762/0.3286, allocations: 43.8 kB / 0.8345 GB, free: 9.254 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.3287, allocations: 7.938 kB / 0.8345 GB, free: 9.246 MB / 0.6544 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 (hysteresis.y,$PRE.hysteresis.y,pul.count,$PRE.pul.count,pul.T_start,$PRE.pul.T_start,hysteresis1.y,$PRE.hysteresis1.y,$whenCondition2,pul1.count,$PRE.pul1.count,pul1.T_start,$PRE.pul1.T_start,hysteresis2.y,$PRE.hysteresis2.y,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001961/0.3289, allocations: 126.4 kB / 0.8346 GB, free: 9.113 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.312e-05/0.3289, allocations: 11.91 kB / 0.8347 GB, free: 9.102 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003034/0.3292, allocations: 98.58 kB / 0.8348 GB, free: 9 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.3293, allocations: 4 kB / 0.8348 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/0.3293, allocations: 3.984 kB / 0.8348 GB, free: 8.992 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.3293, allocations: 3.938 kB / 0.8348 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002932/0.3296, allocations: 225.4 kB / 0.835 GB, free: 8.719 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3296, allocations: 0 / 0.835 GB, free: 8.719 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.3298, allocations: 23.97 kB / 0.835 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.3298, allocations: 8 kB / 0.835 GB, free: 8.688 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/0.3298, allocations: 7.984 kB / 0.835 GB, free: 8.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.3299, allocations: 4 kB / 0.835 GB, free: 8.676 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.3299, allocations: 0 / 0.835 GB, free: 8.676 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007799/0.3307, allocations: 246.4 kB / 0.8353 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.901e-05/0.3308, allocations: 89.19 kB / 0.8353 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.924e-05/0.3308, allocations: 4 kB / 0.8353 GB, free: 8.301 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.331, allocations: 31.89 kB / 0.8354 GB, free: 8.27 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/0.3312, allocations: 39.89 kB / 0.8354 GB, free: 8.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.3312, allocations: 11.98 kB / 0.8354 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002308/0.3315, allocations: 120 kB / 0.8355 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3315, allocations: 0 / 0.8355 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002989/0.3318, allocations: 31.94 kB / 0.8356 GB, free: 8.07 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 ($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 (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.0003599/0.3322, allocations: 111.2 kB / 0.8357 GB, free: 7.949 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007951/0.333, allocations: 194.6 kB / 0.8359 GB, free: 7.762 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.333, allocations: 0 / 0.8359 GB, free: 7.762 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004043/0.3334, allocations: 95.88 kB / 0.836 GB, free: 7.668 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.3338, allocations: 40.25 kB / 0.836 GB, free: 7.629 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008498/0.3346, allocations: 252.2 kB / 0.8362 GB, free: 7.352 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006701/0.3353, allocations: 0.7202 MB / 0.8369 GB, free: 6.605 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001186/0.3355, allocations: 21.92 kB / 0.837 GB, free: 6.586 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.841e-05/0.3356, allocations: 27.42 kB / 0.837 GB, free: 6.559 MB / 0.6544 GB Notification: Performance of SimCode: time 6.71e-07/0.3356, allocations: 0 / 0.837 GB, free: 6.559 MB / 0.6544 GB Notification: Performance of Templates: time 0.007933/0.3435, allocations: 2.361 MB / 0.8393 GB, free: 4.207 MB / 0.6544 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)