Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001109/0.001109, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.696/1.696, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.655/1.655, allocations: 251.9 MB / 0.51 GB, free: 4.828 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.000555/0.0005551, allocations: 16 kB / 0.6241 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6625/0.663, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.001605/0.6647, allocations: 1.128 MB / 0.7291 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003406/0.6651, allocations: 140.5 kB / 0.7292 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.997e-05/0.6651, allocations: 4 kB / 0.7292 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.797e-05/0.6651, allocations: 3.938 kB / 0.7292 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.114e-05/0.6652, allocations: 0 / 0.7292 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001457/0.6654, allocations: 19.91 kB / 0.7293 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.511e-05/0.6654, allocations: 27.91 kB / 0.7293 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.6656, allocations: 8 kB / 0.7293 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.987e-05/0.6656, allocations: 15.92 kB / 0.7293 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.576e-05/0.6657, allocations: 15.92 kB / 0.7293 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.6657, allocations: 4 kB / 0.7293 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.207e-05/0.6657, allocations: 4 kB / 0.7293 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.051e-05/0.6657, allocations: 7.984 kB / 0.7293 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.361e-05/0.6658, allocations: 25.7 kB / 0.7294 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 6.666e-05/0.6658, allocations: 35.92 kB / 0.7294 GB, free: 9.98 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.6659, allocations: 0 / 0.7294 GB, free: 9.98 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6659, allocations: 0 / 0.7294 GB, free: 9.98 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.6659, allocations: 0 / 0.7294 GB, free: 9.98 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006231/0.6665, allocations: 397 kB / 0.7298 GB, free: 9.547 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.6665, allocations: 8.031 kB / 0.7298 GB, free: 9.539 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.6666, allocations: 8 kB / 0.7298 GB, free: 9.531 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.6667, allocations: 167 kB / 0.7299 GB, free: 9.328 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.6667, allocations: 8 kB / 0.73 GB, free: 9.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.6667, allocations: 0 / 0.73 GB, free: 9.32 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.667, allocations: 65.67 kB / 0.73 GB, free: 9.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.667, allocations: 0 / 0.73 GB, free: 9.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.667, allocations: 0 / 0.73 GB, free: 9.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.667, allocations: 0 / 0.73 GB, free: 9.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.6672, allocations: 63.89 kB / 0.7301 GB, free: 9.188 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005151/0.6677, allocations: 304.7 kB / 0.7304 GB, free: 8.84 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.668, allocations: 54.55 kB / 0.7304 GB, free: 8.777 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.668, allocations: 0 / 0.7304 GB, free: 8.777 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.668, allocations: 42.56 kB / 0.7305 GB, free: 8.727 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.668, allocations: 0 / 0.7305 GB, free: 8.727 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003773/0.6684, allocations: 117.8 kB / 0.7306 GB, free: 8.605 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.6685, allocations: 51.41 kB / 0.7306 GB, free: 8.543 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.614e-05/0.6685, allocations: 117.7 kB / 0.7307 GB, free: 8.418 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.6686, allocations: 33.64 kB / 0.7308 GB, free: 8.379 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.732e-05/0.6686, allocations: 92.08 kB / 0.7309 GB, free: 8.285 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.6687, allocations: 7.891 kB / 0.7309 GB, free: 8.277 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.6687, allocations: 0 / 0.7309 GB, free: 8.277 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.6688, allocations: 318.8 kB / 0.7312 GB, free: 7.957 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.003e-05/0.6689, allocations: 27.98 kB / 0.7312 GB, free: 7.93 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.558e-05/0.669, allocations: 31.91 kB / 0.7312 GB, free: 7.898 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.161e-05/0.6691, allocations: 19.98 kB / 0.7312 GB, free: 7.879 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.6691, allocations: 4 kB / 0.7312 GB, free: 7.875 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002001/0.6693, allocations: 89.56 kB / 0.7313 GB, free: 7.781 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.6693, allocations: 4 kB / 0.7313 GB, free: 7.777 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.6693, allocations: 0 / 0.7313 GB, free: 7.777 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.6693, allocations: 0 / 0.7313 GB, free: 7.777 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.919e-05/0.6694, allocations: 15.98 kB / 0.7313 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.6694, allocations: 4 kB / 0.7314 GB, free: 7.758 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.6695, allocations: 27.94 kB / 0.7314 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.6695, allocations: 0 / 0.7314 GB, free: 7.73 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.046e-05/0.6696, allocations: 113.8 kB / 0.7315 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/0.6697, allocations: 4 kB / 0.7315 GB, free: 7.605 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.6699, allocations: 97.48 kB / 0.7316 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.6699, allocations: 0 / 0.7316 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.6699, allocations: 0 / 0.7316 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.6699, allocations: 0 / 0.7316 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.6701, allocations: 173.6 kB / 0.7318 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6701, allocations: 0 / 0.7318 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.032e-05/0.6702, allocations: 11.98 kB / 0.7318 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.6702, allocations: 4 kB / 0.7318 GB, free: 7.262 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.6702, allocations: 0 / 0.7318 GB, free: 7.262 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.6702, allocations: 0 / 0.7318 GB, free: 7.262 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.6702, allocations: 0 / 0.7318 GB, free: 7.262 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.6705, allocations: 187.3 kB / 0.7319 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.972e-05/0.6705, allocations: 81.09 kB / 0.732 GB, free: 6.965 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.6705, allocations: 4 kB / 0.732 GB, free: 6.961 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.6707, allocations: 19.98 kB / 0.732 GB, free: 6.941 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/0.6707, allocations: 11.98 kB / 0.7321 GB, free: 6.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.6707, allocations: 0 / 0.7321 GB, free: 6.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.272e-05/0.6708, allocations: 99.52 kB / 0.7322 GB, free: 6.832 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6708, allocations: 0 / 0.7322 GB, free: 6.832 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002148/0.671, allocations: 11.91 kB / 0.7322 GB, free: 6.82 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001285/0.6711, allocations: 99.47 kB / 0.7323 GB, free: 6.715 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000218/0.6714, allocations: 67.88 kB / 0.7323 GB, free: 6.648 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6714, allocations: 0 / 0.7323 GB, free: 6.648 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.182e-05/0.6715, allocations: 31.97 kB / 0.7324 GB, free: 6.617 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.6717, allocations: 21.86 kB / 0.7324 GB, free: 6.602 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002674/0.672, allocations: 124.7 kB / 0.7325 GB, free: 6.457 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.6722, allocations: 0.6848 MB / 0.7332 GB, free: 5.746 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.084e-05/0.6722, allocations: 8 kB / 0.7332 GB, free: 5.738 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.867e-05/0.6723, allocations: 7.438 kB / 0.7332 GB, free: 5.73 MB / 0.545 GB Notification: Performance of SimCode: time 2.71e-07/0.6723, allocations: 0 / 0.7332 GB, free: 5.73 MB / 0.545 GB Notification: Performance of Templates: time 0.002689/0.675, allocations: 0.6228 MB / 0.7338 GB, free: 5.109 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1) Environment - environmentSimulation: