Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.558/1.558, allocations: 297.8 MB / 313.7 MB, free: 140 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008969/0.0008969, allocations: 172.5 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.214/1.214, allocations: 223.3 MB / 0.6626 GB, free: 4.344 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008576/0.0008579, allocations: 101.2 kB / 0.7808 GB, free: 43.73 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003732/0.0003732, allocations: 20 kB / 0.9088 GB, free: 0.6562 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5958/0.5962, allocations: 120.3 MB / 1.026 GB, free: 56.99 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1712/0.7674, allocations: 141.9 MB / 1.165 GB, free: 284 kB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002005/0.7677, allocations: 73.41 kB / 1.165 GB, free: 212 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01155/0.7792, allocations: 4.362 MB / 1.169 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.824e-06/0.7793, allocations: 0 / 1.169 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.7793, allocations: 4 kB / 1.169 GB, free: 11.89 MB / 0.7448 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.0006464/0.7799, allocations: 0.5488 MB / 1.17 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.78, allocations: 8.031 kB / 1.17 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.166e-05/0.78, allocations: 24.75 kB / 1.17 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.7802, allocations: 204.3 kB / 1.17 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.7802, allocations: 12.38 kB / 1.17 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.854e-05/0.7803, allocations: 20.38 kB / 1.17 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.7806, allocations: 138 kB / 1.17 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.7806, allocations: 192 / 1.17 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.7806, allocations: 11.94 kB / 1.17 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.7806, allocations: 0 / 1.17 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002416/0.7809, allocations: 99.88 kB / 1.17 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007517/0.7816, allocations: 0.6803 MB / 1.171 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003624/0.782, allocations: 161.4 kB / 1.171 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.7821, allocations: 63.45 kB / 1.171 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.7822, allocations: 4 kB / 1.171 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002889/0.7825, allocations: 165.7 kB / 1.171 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.7825, allocations: 0 / 1.171 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.000515/0.783, allocations: 234.8 kB / 1.172 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.783, allocations: 106.8 kB / 1.172 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.7832, allocations: 196.9 kB / 1.172 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.445e-05/0.7833, allocations: 37.7 kB / 1.172 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.271e-05/0.7834, allocations: 128.5 kB / 1.172 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.7834, allocations: 39.45 kB / 1.172 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.242e-05/0.7835, allocations: 8 kB / 1.172 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.7836, allocations: 326.8 kB / 1.172 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.7838, allocations: 107.9 kB / 1.172 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002723/0.7841, allocations: 183.8 kB / 1.173 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003681/0.7845, allocations: 261.7 kB / 1.173 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7845, allocations: 0 / 1.173 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006469/0.7851, allocations: 380.7 kB / 1.173 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.837e-05/0.7852, allocations: 71.39 kB / 1.173 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.7852, allocations: 0 / 1.173 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.7852, allocations: 4 kB / 1.173 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.705e-05/0.7853, allocations: 35.97 kB / 1.173 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.7853, allocations: 0 / 1.173 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000391/0.7857, allocations: 115.8 kB / 1.173 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/0.7858, allocations: 16 kB / 1.173 GB, free: 7.188 MB / 0.7448 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.0001273/0.7859, allocations: 146.2 kB / 1.174 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.7859, allocations: 19.81 kB / 1.174 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/0.7862, allocations: 102.6 kB / 1.174 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.7862, allocations: 1.266 kB / 1.174 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.7862, allocations: 0 / 1.174 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.7862, allocations: 15.92 kB / 1.174 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.7864, allocations: 241.5 kB / 1.174 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.7864, allocations: 0 / 1.174 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.488e-05/0.7865, allocations: 23.92 kB / 1.174 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.7865, allocations: 0 / 1.174 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.7866, allocations: 4 kB / 1.174 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.7866, allocations: 0 / 1.174 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7866, allocations: 0 / 1.174 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003602/0.7869, allocations: 229.2 kB / 1.174 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/0.787, allocations: 88.92 kB / 1.174 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.787, allocations: 8 kB / 1.174 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.7871, allocations: 35.91 kB / 1.174 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.666e-05/0.7872, allocations: 31.89 kB / 1.174 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.7873, allocations: 7.984 kB / 1.174 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001098/0.7874, allocations: 144.2 kB / 1.175 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7874, allocations: 0 / 1.175 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002569/0.7877, allocations: 59.94 kB / 1.175 GB, free: 5.945 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: 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.0001635/0.7878, allocations: 115.4 kB / 1.175 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005532/0.7884, allocations: 359.8 kB / 1.175 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.7884, allocations: 3.938 kB / 1.175 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.7886, allocations: 79.91 kB / 1.175 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.7889, allocations: 41.78 kB / 1.175 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004907/0.7894, allocations: 334.7 kB / 1.175 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.7897, allocations: 0.7244 MB / 1.176 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.07e-05/0.7897, allocations: 21.55 kB / 1.176 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.7898, allocations: 19.44 kB / 1.176 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of SimCode: time 2e-07/0.7898, allocations: 0 / 1.176 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of Templates: time 0.005668/0.7955, allocations: 3.151 MB / 1.179 GB, free: 1.094 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)