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.Edge.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.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.0105/0.01051, allocations: 170 kB / 16.26 MB, free: 6.613 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.637/1.637, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.623/1.623, allocations: 252 MB / 0.5105 GB, free: 4.625 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.0006773/0.0006775, allocations: 16 kB / 0.6249 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6461/0.6468, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002205/0.6491, allocations: 1.195 MB / 0.7299 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004913/0.6496, allocations: 216.2 kB / 0.7301 GB, free: 9.867 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.085e-05/0.6496, allocations: 0 / 0.7301 GB, free: 9.867 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.11e-05/0.6497, allocations: 0 / 0.7301 GB, free: 9.867 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.885e-05/0.6498, allocations: 7.922 kB / 0.7301 GB, free: 9.859 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.65, allocations: 23.91 kB / 0.7301 GB, free: 9.836 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.794e-05/0.6501, allocations: 59.8 kB / 0.7302 GB, free: 9.777 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.6502, allocations: 19.98 kB / 0.7302 GB, free: 9.758 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.948e-05/0.6503, allocations: 19.92 kB / 0.7302 GB, free: 9.738 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.203e-05/0.6504, allocations: 15.92 kB / 0.7302 GB, free: 9.723 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.6504, allocations: 7.938 kB / 0.7303 GB, free: 9.715 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.314e-05/0.6505, allocations: 4 kB / 0.7303 GB, free: 9.711 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.427e-05/0.6505, allocations: 7.984 kB / 0.7303 GB, free: 9.703 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.481e-05/0.6506, allocations: 53.55 kB / 0.7303 GB, free: 9.645 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.6507, allocations: 43.78 kB / 0.7304 GB, free: 9.602 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.6507, allocations: 4 kB / 0.7304 GB, free: 9.598 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6507, allocations: 4 kB / 0.7304 GB, free: 9.594 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.6507, allocations: 0 / 0.7304 GB, free: 9.594 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005753/0.6513, allocations: 377.3 kB / 0.7307 GB, free: 9.176 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.6513, allocations: 8.031 kB / 0.7307 GB, free: 9.168 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.6514, allocations: 8.844 kB / 0.7307 GB, free: 9.16 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.6515, allocations: 184.2 kB / 0.7309 GB, free: 8.941 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.6516, allocations: 4.375 kB / 0.7309 GB, free: 8.938 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.6516, allocations: 4.375 kB / 0.7309 GB, free: 8.934 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.6518, allocations: 78.19 kB / 0.731 GB, free: 8.852 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.6518, allocations: 192 / 0.731 GB, free: 8.852 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.6518, allocations: 3.938 kB / 0.731 GB, free: 8.848 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.6518, allocations: 4 kB / 0.731 GB, free: 8.844 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002144/0.6521, allocations: 55.95 kB / 0.7311 GB, free: 8.789 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005574/0.6526, allocations: 308.8 kB / 0.7314 GB, free: 8.438 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004375/0.6531, allocations: 114.5 kB / 0.7315 GB, free: 8.316 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.6532, allocations: 40.95 kB / 0.7315 GB, free: 8.273 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.6532, allocations: 3.984 kB / 0.7315 GB, free: 8.27 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000241/0.6535, allocations: 87.31 kB / 0.7316 GB, free: 8.172 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.6535, allocations: 0 / 0.7316 GB, free: 8.172 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004555/0.6539, allocations: 145.6 kB / 0.7317 GB, free: 8.023 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.654, allocations: 63.34 kB / 0.7318 GB, free: 7.949 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.794e-05/0.6541, allocations: 109.8 kB / 0.7319 GB, free: 7.832 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.6541, allocations: 29.7 kB / 0.7319 GB, free: 7.797 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.537e-05/0.6542, allocations: 96.03 kB / 0.732 GB, free: 7.699 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.6542, allocations: 15.84 kB / 0.732 GB, free: 7.684 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.6543, allocations: 25.7 kB / 0.7321 GB, free: 7.652 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.6544, allocations: 326.7 kB / 0.7324 GB, free: 7.324 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.6545, allocations: 31.97 kB / 0.7324 GB, free: 7.293 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.6547, allocations: 67.34 kB / 0.7325 GB, free: 7.215 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.6549, allocations: 95.34 kB / 0.7326 GB, free: 7.109 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.6549, allocations: 0 / 0.7326 GB, free: 7.109 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002711/0.6552, allocations: 121.5 kB / 0.7327 GB, free: 6.984 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.6552, allocations: 4 kB / 0.7327 GB, free: 6.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.6552, allocations: 8.094 kB / 0.7327 GB, free: 6.973 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.6552, allocations: 0 / 0.7327 GB, free: 6.973 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.523e-05/0.6553, allocations: 23.92 kB / 0.7327 GB, free: 6.949 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.6553, allocations: 0 / 0.7327 GB, free: 6.949 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.46e-05/0.6554, allocations: 19.89 kB / 0.7327 GB, free: 6.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.6554, allocations: 4 kB / 0.7327 GB, free: 6.926 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,edge1.y,edge1.u,$PRE.edge1.u,booPul.pulseStart,$PRE.booPul.pulseStart,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001222/0.6556, allocations: 121.8 kB / 0.7328 GB, free: 6.797 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/0.6556, allocations: 4 kB / 0.7328 GB, free: 6.793 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.312e-05/0.6556, allocations: 12.36 kB / 0.7329 GB, free: 6.781 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-06/0.6556, allocations: 0 / 0.7329 GB, free: 6.781 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.6557, allocations: 0 / 0.7329 GB, free: 6.781 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.6557, allocations: 4 kB / 0.7329 GB, free: 6.777 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005028/0.6562, allocations: 382.3 kB / 0.7332 GB, free: 6.348 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.6562, allocations: 0.5625 kB / 0.7332 GB, free: 6.348 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.479e-05/0.6562, allocations: 11.98 kB / 0.7332 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.6563, allocations: 0 / 0.7332 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.6563, allocations: 0 / 0.7332 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.6563, allocations: 0 / 0.7332 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.6563, allocations: 3.938 kB / 0.7332 GB, free: 6.332 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003278/0.6566, allocations: 215.4 kB / 0.7334 GB, free: 6.105 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.731e-05/0.6567, allocations: 81.02 kB / 0.7335 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.6567, allocations: 0 / 0.7335 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.6568, allocations: 23.98 kB / 0.7335 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.768e-05/0.6569, allocations: 11.92 kB / 0.7336 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.6569, allocations: 64 / 0.7336 GB, free: 5.973 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.329e-05/0.657, allocations: 91.27 kB / 0.7336 GB, free: 5.883 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.657, allocations: 4 kB / 0.7336 GB, free: 5.879 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002275/0.6572, allocations: 15.94 kB / 0.7337 GB, free: 5.863 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: 6 (edge1.y,$whenCondition2,$whenCondition1,booPul.pulseStart,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00016/0.6574, allocations: 107.2 kB / 0.7338 GB, free: 5.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002837/0.6577, allocations: 87.88 kB / 0.7339 GB, free: 5.664 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.6577, allocations: 0 / 0.7339 GB, free: 5.664 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.6578, allocations: 48.05 kB / 0.7339 GB, free: 5.617 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.6581, allocations: 14.8 kB / 0.7339 GB, free: 5.605 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000405/0.6585, allocations: 174.5 kB / 0.7341 GB, free: 5.406 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.6588, allocations: 0.6897 MB / 0.7348 GB, free: 4.691 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.758e-05/0.6589, allocations: 11.84 kB / 0.7348 GB, free: 4.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.44e-05/0.6589, allocations: 11.44 kB / 0.7348 GB, free: 4.668 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.6589, allocations: 0 / 0.7348 GB, free: 4.668 MB / 0.545 GB Notification: Performance of Templates: time 0.003349/0.6623, allocations: 0.7592 MB / 0.7355 GB, free: 3.914 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) Environment - environmentSimulation: