Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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_1.6_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_1.6_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.001392/0.001392, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01281/0.01281, allocations: 170.1 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.607/1.607, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.107/3.107, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0006034/0.0006034, allocations: 8.562 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5008/0.5014, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001127/0.5026, allocations: 477 kB / 1.075 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002062/0.5047, allocations: 1.159 MB / 1.076 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.06e-05/0.5048, allocations: 3.938 kB / 1.076 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.879e-05/0.5048, allocations: 7.922 kB / 1.076 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.5049, allocations: 3.938 kB / 1.076 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006588/0.5056, allocations: 122.9 kB / 1.076 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000148/0.5058, allocations: 107.8 kB / 1.076 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.5059, allocations: 19.98 kB / 1.076 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.506, allocations: 39.84 kB / 1.076 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.422e-05/0.5061, allocations: 43.81 kB / 1.076 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.5061, allocations: 4 kB / 1.076 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.479e-05/0.5062, allocations: 19.98 kB / 1.076 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.236e-05/0.5063, allocations: 4 kB / 1.076 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.631e-05/0.5064, allocations: 61.55 kB / 1.076 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.5066, allocations: 107.6 kB / 1.076 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.5066, allocations: 0 / 1.076 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.245e-06/0.5066, allocations: 0 / 1.076 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.5066, allocations: 4 kB / 1.076 GB, free: 5.375 MB / 0.8262 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.0006824/0.5073, allocations: 397.3 kB / 1.077 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.5073, allocations: 8.031 kB / 1.077 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.568e-05/0.5074, allocations: 12.84 kB / 1.077 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.5076, allocations: 168.3 kB / 1.077 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.5076, allocations: 8.312 kB / 1.077 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.5076, allocations: 12.38 kB / 1.077 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.5079, allocations: 66.22 kB / 1.077 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.5079, allocations: 192 / 1.077 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.5079, allocations: 7.938 kB / 1.077 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.5079, allocations: 0 / 1.077 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000215/0.5081, allocations: 51.95 kB / 1.077 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006649/0.5088, allocations: 336.7 kB / 1.077 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.5091, allocations: 74.55 kB / 1.077 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.5092, allocations: 36.97 kB / 1.077 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.5092, allocations: 0 / 1.077 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003145/0.5096, allocations: 99.2 kB / 1.077 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.743e-06/0.5096, allocations: 3.938 kB / 1.077 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0005328/0.5101, allocations: 161.6 kB / 1.078 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.5102, allocations: 51.41 kB / 1.078 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.5103, allocations: 121.8 kB / 1.078 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.5104, allocations: 25.7 kB / 1.078 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.829e-05/0.5105, allocations: 92.12 kB / 1.078 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.5105, allocations: 19.88 kB / 1.078 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.904e-05/0.5106, allocations: 21.7 kB / 1.078 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.5107, allocations: 322.8 kB / 1.078 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.5109, allocations: 59.89 kB / 1.078 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.5111, allocations: 100.2 kB / 1.078 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003335/0.5115, allocations: 158.1 kB / 1.079 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5115, allocations: 0 / 1.079 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004994/0.512, allocations: 215.2 kB / 1.079 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.397e-05/0.5121, allocations: 41.83 kB / 1.079 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.5121, allocations: 4 kB / 1.079 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.5121, allocations: 0 / 1.079 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.5122, allocations: 19.92 kB / 1.079 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.5122, allocations: 0 / 1.079 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.5125, allocations: 51.89 kB / 1.079 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/0.5125, allocations: 15.98 kB / 1.079 GB, free: 2.387 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001411/0.5127, allocations: 121.8 kB / 1.079 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/0.5127, allocations: 3.906 kB / 1.079 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.779e-05/0.5127, allocations: 12.38 kB / 1.079 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.5128, allocations: 0 / 1.079 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.5128, allocations: 0 / 1.079 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.5128, allocations: 7.984 kB / 1.079 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006025/0.5134, allocations: 390.3 kB / 1.079 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.5134, allocations: 3.938 kB / 1.079 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.918e-05/0.5135, allocations: 15.98 kB / 1.079 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.5135, allocations: 0 / 1.079 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.5135, allocations: 0 / 1.079 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.5135, allocations: 7.938 kB / 1.079 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5135, allocations: 0 / 1.079 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003448/0.5139, allocations: 215.4 kB / 1.08 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/0.5139, allocations: 85.02 kB / 1.08 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.5139, allocations: 3.984 kB / 1.08 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.669e-05/0.514, allocations: 8 kB / 1.08 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.5141, allocations: 11.98 kB / 1.08 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-06/0.5141, allocations: 3.938 kB / 1.08 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.658e-05/0.5142, allocations: 95.27 kB / 1.08 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5142, allocations: 0 / 1.08 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002717/0.5145, allocations: 24 kB / 1.08 GB, free: 1.297 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,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 (8): * Single equations (assignments): 6 * 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.000204/0.5147, allocations: 107.2 kB / 1.08 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004359/0.5151, allocations: 191.3 kB / 1.08 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.5151, allocations: 3.938 kB / 1.08 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.5153, allocations: 35.98 kB / 1.08 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.5156, allocations: 18.38 kB / 1.08 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004302/0.516, allocations: 187.4 kB / 1.08 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.5163, allocations: 0.6887 MB / 1.081 GB, free: 16 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.561e-05/0.5164, allocations: 11.77 kB / 1.081 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.605e-05/0.5164, allocations: 11.44 kB / 1.081 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of SimCode: time 3.61e-07/0.5164, allocations: 4 kB / 1.081 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of Templates: time 0.004281/0.5207, allocations: 1.314 MB / 1.082 GB, free: 14.67 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)