Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001262/0.001262, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00153/0.00153, allocations: 200.4 kB / 16.26 MB, free: 6.621 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.485/1.485, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.038/3.038, allocations: 472.6 MB / 0.7448 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 67.16 kB / 0.9115 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3992/0.4005, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002363/0.4029, allocations: 0.8009 MB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001943/0.4049, allocations: 1.151 MB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.759e-05/0.405, allocations: 0 / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.89e-05/0.4051, allocations: 0 / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.4052, allocations: 7.922 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000705/0.4059, allocations: 119.4 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002377/0.4062, allocations: 119.8 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.4063, allocations: 23.95 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.4065, allocations: 43.91 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.4066, allocations: 43.83 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.197e-05/0.4066, allocations: 12 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.517e-05/0.4067, allocations: 31.91 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.1e-05/0.4068, allocations: 11.94 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.002e-05/0.4069, allocations: 43.84 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.4071, allocations: 103.7 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/0.4071, allocations: 0 / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.595e-06/0.4071, allocations: 0 / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.4072, allocations: 0 / 1.07 GB, free: 8.254 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.0008933/0.4081, allocations: 421.2 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.398e-05/0.4081, allocations: 12.03 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.632e-05/0.4082, allocations: 16.78 kB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.4084, allocations: 168.4 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.4085, allocations: 8.359 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/0.4085, allocations: 12.31 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.4088, allocations: 66.22 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.4088, allocations: 4.188 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.4088, allocations: 7.875 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.4089, allocations: 0 / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/0.4091, allocations: 39.95 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008053/0.4099, allocations: 336.6 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/0.4101, allocations: 66.48 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.4102, allocations: 28.97 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.4102, allocations: 0 / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002248/0.4104, allocations: 95.42 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.4105, allocations: 0 / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0004556/0.4109, allocations: 145.5 kB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.411, allocations: 51.41 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.47e-05/0.4111, allocations: 121.8 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.082e-05/0.4111, allocations: 25.7 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.572e-05/0.4112, allocations: 100.1 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.4112, allocations: 15.8 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.373e-05/0.4113, allocations: 37.7 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.4114, allocations: 318.8 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.4116, allocations: 51.95 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.4118, allocations: 96.25 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.412, allocations: 141.8 kB / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.412, allocations: 0 / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004284/0.4125, allocations: 211.1 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.455e-05/0.4125, allocations: 35.58 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.4125, allocations: 4 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.4126, allocations: 0 / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.637e-05/0.4127, allocations: 15.92 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.4127, allocations: 8.25 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.4129, allocations: 43.92 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.288e-05/0.4129, allocations: 8 kB / 1.073 GB, free: 5.316 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.0001406/0.4131, allocations: 125.8 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.596e-05/0.4131, allocations: 7.906 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.742e-05/0.4131, allocations: 8.375 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.4132, allocations: 4 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4132, allocations: 0 / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.4132, allocations: 7.938 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005655/0.4138, allocations: 378.4 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4138, allocations: 0 / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.766e-05/0.4138, allocations: 11.98 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.4138, allocations: 0 / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.4139, allocations: 4.062 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.4139, allocations: 4 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.4139, allocations: 0 / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003521/0.4142, allocations: 215.3 kB / 1.073 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.252e-05/0.4143, allocations: 81.02 kB / 1.074 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.4143, allocations: 3.984 kB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.061e-05/0.4144, allocations: 4 kB / 1.074 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.47e-05/0.4145, allocations: 15.98 kB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.4145, allocations: 7.938 kB / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.261e-05/0.4146, allocations: 91.27 kB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.4146, allocations: 0 / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002737/0.4149, allocations: 24 kB / 1.074 GB, free: 4.242 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.0002556/0.4151, allocations: 107.2 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004358/0.4156, allocations: 179.3 kB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4156, allocations: 0 / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.4157, allocations: 43.91 kB / 1.074 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.416, allocations: 15.98 kB / 1.074 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003778/0.4164, allocations: 178.9 kB / 1.074 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.4167, allocations: 0.6885 MB / 1.075 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.929e-05/0.4167, allocations: 7.781 kB / 1.075 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.4168, allocations: 11.44 kB / 1.075 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.4168, allocations: 0 / 1.075 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of Templates: time 0.004251/0.421, allocations: 1.382 MB / 1.076 GB, free: 1.582 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)