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.001105/0.001105, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001324/0.001324, allocations: 168.7 kB / 15.95 MB, free: 204 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.783/1.783, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.628/1.628, allocations: 252 MB / 0.5102 GB, free: 4.805 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.0005226/0.0005228, allocations: 16 kB / 0.6243 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5957/0.5963, allocations: 106.3 MB / 0.7282 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.001481/0.5978, allocations: 1.133 MB / 0.7293 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003202/0.5981, allocations: 140.5 kB / 0.7294 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.403e-05/0.5982, allocations: 0 / 0.7294 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.513e-05/0.5982, allocations: 3.938 kB / 0.7294 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.572e-05/0.5983, allocations: 3.984 kB / 0.7294 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.5984, allocations: 23.92 kB / 0.7294 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.874e-05/0.5985, allocations: 35.91 kB / 0.7295 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.024e-05/0.5986, allocations: 12 kB / 0.7295 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.864e-05/0.5987, allocations: 15.92 kB / 0.7295 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.574e-05/0.5987, allocations: 11.92 kB / 0.7295 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.5988, allocations: 4 kB / 0.7295 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.157e-06/0.5988, allocations: 0 / 0.7295 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.655e-05/0.5988, allocations: 15.97 kB / 0.7295 GB, free: 9.996 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.427e-05/0.5988, allocations: 29.64 kB / 0.7295 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 5.887e-05/0.5989, allocations: 31.94 kB / 0.7296 GB, free: 9.93 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.5989, allocations: 0 / 0.7296 GB, free: 9.93 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.021e-06/0.5989, allocations: 0 / 0.7296 GB, free: 9.93 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.5989, allocations: 0 / 0.7296 GB, free: 9.93 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.0005469/0.5995, allocations: 389.1 kB / 0.7299 GB, free: 9.504 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.5995, allocations: 12.03 kB / 0.73 GB, free: 9.492 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.836e-05/0.5995, allocations: 0 / 0.73 GB, free: 9.492 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.5997, allocations: 171 kB / 0.7301 GB, free: 9.285 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.5997, allocations: 4 kB / 0.7301 GB, free: 9.281 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.5997, allocations: 4 kB / 0.7301 GB, free: 9.277 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.5999, allocations: 65.67 kB / 0.7302 GB, free: 9.207 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.5999, allocations: 3.984 kB / 0.7302 GB, free: 9.203 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.5999, allocations: 4 kB / 0.7302 GB, free: 9.199 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.5999, allocations: 0 / 0.7302 GB, free: 9.199 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.6001, allocations: 59.89 kB / 0.7303 GB, free: 9.141 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004795/0.6006, allocations: 304.7 kB / 0.7305 GB, free: 8.793 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.6009, allocations: 62.48 kB / 0.7306 GB, free: 8.723 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.348e-05/0.601, allocations: 36.92 kB / 0.7306 GB, free: 8.684 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.601, allocations: 4 kB / 0.7306 GB, free: 8.68 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.601, allocations: 30.56 kB / 0.7307 GB, free: 8.641 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.601, allocations: 4 kB / 0.7307 GB, free: 8.637 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003372/0.6014, allocations: 109.5 kB / 0.7308 GB, free: 8.523 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.6014, allocations: 55.36 kB / 0.7308 GB, free: 8.457 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.38e-05/0.6015, allocations: 113.8 kB / 0.7309 GB, free: 8.336 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.6015, allocations: 29.7 kB / 0.731 GB, free: 8.301 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/0.6016, allocations: 100 kB / 0.7311 GB, free: 8.199 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.6016, allocations: 3.906 kB / 0.7311 GB, free: 8.195 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-06/0.6016, allocations: 0 / 0.7311 GB, free: 8.195 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.6017, allocations: 318.8 kB / 0.7314 GB, free: 7.875 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.233e-05/0.6018, allocations: 31.97 kB / 0.7314 GB, free: 7.844 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.339e-05/0.6019, allocations: 23.98 kB / 0.7314 GB, free: 7.82 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.601e-05/0.602, allocations: 23.98 kB / 0.7314 GB, free: 7.797 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.602, allocations: 0 / 0.7314 GB, free: 7.797 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001901/0.6022, allocations: 85.56 kB / 0.7315 GB, free: 7.707 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.6022, allocations: 8 kB / 0.7315 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.6022, allocations: 3.984 kB / 0.7315 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.6022, allocations: 0 / 0.7315 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.442e-05/0.6023, allocations: 16 kB / 0.7316 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.6023, allocations: 3.953 kB / 0.7316 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.721e-05/0.6024, allocations: 27.91 kB / 0.7316 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.6024, allocations: 0 / 0.7316 GB, free: 7.648 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 7.484e-05/0.6025, allocations: 117.8 kB / 0.7317 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.6026, allocations: 4 kB / 0.7317 GB, free: 7.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/0.6028, allocations: 89.55 kB / 0.7318 GB, free: 7.418 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.6028, allocations: 0 / 0.7318 GB, free: 7.418 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.6028, allocations: 0 / 0.7318 GB, free: 7.418 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.6028, allocations: 8.328 kB / 0.7318 GB, free: 7.41 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.603, allocations: 165.7 kB / 0.732 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.603, allocations: 3.984 kB / 0.732 GB, free: 7.195 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.438e-05/0.603, allocations: 8 kB / 0.732 GB, free: 7.188 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.603, allocations: 0 / 0.732 GB, free: 7.188 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.6031, allocations: 4 kB / 0.732 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.6031, allocations: 7.875 kB / 0.732 GB, free: 7.176 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.6031, allocations: 7.969 kB / 0.732 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.6033, allocations: 183.4 kB / 0.7322 GB, free: 6.973 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.6034, allocations: 77.11 kB / 0.7322 GB, free: 6.879 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.6034, allocations: 4 kB / 0.7322 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.6035, allocations: 27.97 kB / 0.7323 GB, free: 6.848 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.6036, allocations: 7.984 kB / 0.7323 GB, free: 6.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.6036, allocations: 0 / 0.7323 GB, free: 6.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.199e-05/0.6036, allocations: 91.59 kB / 0.7324 GB, free: 6.75 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6036, allocations: 0 / 0.7324 GB, free: 6.75 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002043/0.6038, allocations: 7.906 kB / 0.7324 GB, free: 6.742 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.0001394/0.604, allocations: 111.2 kB / 0.7325 GB, free: 6.625 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002174/0.6042, allocations: 59.89 kB / 0.7325 GB, free: 6.566 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6042, allocations: 0 / 0.7325 GB, free: 6.566 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.796e-05/0.6043, allocations: 31.98 kB / 0.7326 GB, free: 6.535 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.6046, allocations: 11.95 kB / 0.7326 GB, free: 6.523 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003169/0.6049, allocations: 124.7 kB / 0.7327 GB, free: 6.379 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.6052, allocations: 0.6848 MB / 0.7334 GB, free: 5.668 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.574e-05/0.6052, allocations: 8 kB / 0.7334 GB, free: 5.66 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.889e-05/0.6053, allocations: 7.438 kB / 0.7334 GB, free: 5.652 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.6053, allocations: 0 / 0.7334 GB, free: 5.652 MB / 0.545 GB Notification: Performance of Templates: time 0.002683/0.608, allocations: 0.6292 MB / 0.734 GB, free: 5.027 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: