Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.68/1.68, allocations: 288.4 MB / 304.3 MB, free: 8.066 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009782/0.0009782, allocations: 180.5 kB / 373 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.647/1.647, allocations: 205.4 MB / 0.6317 GB, free: 9.859 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007715/0.0007714, allocations: 90.81 kB / 0.745 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005214/0.0005215, allocations: 14.72 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2366, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8065/1.043, allocations: 138.7 MB / 1.116 GB, free: 16.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/1.044, allocations: 71.22 kB / 1.116 GB, free: 16.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01182/1.055, allocations: 4.352 MB / 1.121 GB, free: 31.97 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.663e-06/1.055, allocations: 0 / 1.121 GB, free: 31.97 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.877e-06/1.055, allocations: 3.938 kB / 1.121 GB, free: 31.97 MB / 0.698 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.0007245/1.056, allocations: 0.5424 MB / 1.121 GB, free: 31.49 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/1.056, allocations: 14.39 kB / 1.121 GB, free: 31.49 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.646e-05/1.056, allocations: 20.34 kB / 1.121 GB, free: 31.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/1.056, allocations: 205.9 kB / 1.121 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/1.057, allocations: 15.91 kB / 1.121 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.558e-05/1.057, allocations: 15.75 kB / 1.121 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/1.057, allocations: 141.8 kB / 1.121 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/1.057, allocations: 192 / 1.121 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/1.057, allocations: 7.812 kB / 1.121 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/1.057, allocations: 7.875 kB / 1.122 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002378/1.057, allocations: 102.9 kB / 1.122 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007734/1.058, allocations: 0.6778 MB / 1.122 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003563/1.058, allocations: 155.5 kB / 1.122 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/1.058, allocations: 70.44 kB / 1.122 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/1.058, allocations: 0 / 1.122 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003358/1.059, allocations: 178.1 kB / 1.123 GB, free: 30.55 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/1.059, allocations: 0 / 1.123 GB, free: 30.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0005332/1.059, allocations: 234.5 kB / 1.123 GB, free: 30.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/1.059, allocations: 114.4 kB / 1.123 GB, free: 30.37 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/1.06, allocations: 190 kB / 1.123 GB, free: 30.26 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.269e-05/1.06, allocations: 40.48 kB / 1.123 GB, free: 30.23 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/1.06, allocations: 122.6 kB / 1.123 GB, free: 30.14 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/1.06, allocations: 38.38 kB / 1.123 GB, free: 30.12 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.068e-05/1.06, allocations: 3.844 kB / 1.123 GB, free: 30.12 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001625/1.06, allocations: 329.5 kB / 1.124 GB, free: 29.81 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/1.06, allocations: 116.4 kB / 1.124 GB, free: 29.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/1.061, allocations: 176.7 kB / 1.124 GB, free: 29.72 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003557/1.061, allocations: 255.5 kB / 1.124 GB, free: 29.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/1.061, allocations: 0 / 1.124 GB, free: 29.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006296/1.062, allocations: 379.7 kB / 1.125 GB, free: 29.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.564e-05/1.062, allocations: 74.69 kB / 1.125 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/1.062, allocations: 3.188 kB / 1.125 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/1.062, allocations: 3.781 kB / 1.125 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.597e-05/1.062, allocations: 25.67 kB / 1.125 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/1.062, allocations: 0 / 1.125 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004097/1.062, allocations: 119.5 kB / 1.125 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.575e-05/1.062, allocations: 16.16 kB / 1.125 GB, free: 29.39 MB / 0.698 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,$PRE.hysteresis1.y,hysteresis1.y,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.hysteresis2.y,hysteresis2.y,$PRE.pul1.booPul.y,pul1.booPul.y,$PRE.hysteresis.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001326/1.062, allocations: 139 kB / 1.125 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/1.062, allocations: 18.23 kB / 1.125 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003024/1.063, allocations: 112.6 kB / 1.125 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/1.063, allocations: 0 / 1.125 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/1.063, allocations: 3.812 kB / 1.125 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/1.063, allocations: 7.875 kB / 1.125 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002271/1.063, allocations: 242.6 kB / 1.125 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/1.063, allocations: 3.938 kB / 1.125 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.39e-05/1.063, allocations: 14.67 kB / 1.125 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/1.063, allocations: 7.812 kB / 1.125 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/1.063, allocations: 5.328 kB / 1.125 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/1.063, allocations: 3.844 kB / 1.125 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.063, allocations: 0 / 1.125 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003687/1.064, allocations: 216 kB / 1.126 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.459e-05/1.064, allocations: 92.55 kB / 1.126 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/1.064, allocations: 6.016 kB / 1.126 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/1.064, allocations: 35.94 kB / 1.126 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.631e-05/1.064, allocations: 40.48 kB / 1.126 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/1.064, allocations: 6.391 kB / 1.126 GB, free: 28.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001125/1.064, allocations: 148.9 kB / 1.126 GB, free: 28.72 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.064, allocations: 0 / 1.126 GB, free: 28.72 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002911/1.064, allocations: 57.44 kB / 1.126 GB, free: 28.71 MB / 0.698 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 (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.0002007/1.064, allocations: 120.7 kB / 1.126 GB, free: 28.62 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005415/1.065, allocations: 352.5 kB / 1.126 GB, free: 28.48 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.065, allocations: 0 / 1.126 GB, free: 28.48 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001657/1.065, allocations: 80.62 kB / 1.126 GB, free: 28.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/1.066, allocations: 41.92 kB / 1.126 GB, free: 28.48 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005113/1.066, allocations: 343 kB / 1.127 GB, free: 28.25 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/1.066, allocations: 0.7256 MB / 1.128 GB, free: 27.55 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.377e-05/1.066, allocations: 18.22 kB / 1.128 GB, free: 27.54 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.551e-05/1.067, allocations: 17.48 kB / 1.128 GB, free: 27.54 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/1.067, allocations: 4 kB / 1.128 GB, free: 27.53 MB / 0.698 GB Notification: Performance of Templates: time 0.005838/1.072, allocations: 3.154 MB / 1.131 GB, free: 27.27 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)