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.001315/0.001315, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001589/0.001589, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.563/1.563, allocations: 222.9 MB / 239.8 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.114/3.114, allocations: 472.6 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 62.09 kB / 0.9114 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.4111, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002389/0.4135, allocations: 0.8008 MB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001603/0.4152, allocations: 1.166 MB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.588e-05/0.4152, allocations: 0 / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.927e-05/0.4153, allocations: 3.938 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.088e-05/0.4154, allocations: 7.938 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004555/0.4158, allocations: 123.1 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.4159, allocations: 103.8 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.4161, allocations: 23.97 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.839e-05/0.4162, allocations: 47.83 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.007e-05/0.4162, allocations: 35.83 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.4163, allocations: 8 kB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.099e-05/0.4163, allocations: 16 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.515e-05/0.4164, allocations: 15.92 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.538e-05/0.4164, allocations: 39.83 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.4166, allocations: 99.75 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4166, allocations: 7.938 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.41e-07/0.4166, allocations: 0 / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.4167, allocations: 0 / 1.07 GB, free: 8.379 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.0005808/0.4172, allocations: 409.2 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.4173, allocations: 16.02 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.17e-05/0.4173, allocations: 8.844 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.4175, allocations: 164.4 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.4175, allocations: 12.31 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.4175, allocations: 8.312 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.4177, allocations: 70.22 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.4178, allocations: 192 / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.4178, allocations: 3.938 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.4178, allocations: 0 / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.418, allocations: 43.95 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004914/0.4185, allocations: 344.6 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.4187, allocations: 58.55 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.4188, allocations: 36.97 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.4188, allocations: 0 / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002128/0.419, allocations: 87.36 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.419, allocations: 3.938 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0004526/0.4195, allocations: 141.6 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.4195, allocations: 55.39 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.348e-05/0.4196, allocations: 121.8 kB / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.4197, allocations: 29.7 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.702e-05/0.4197, allocations: 88.14 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.4198, allocations: 19.8 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.527e-05/0.4198, allocations: 37.7 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.4199, allocations: 318.8 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.4201, allocations: 51.97 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.4203, allocations: 92.19 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.4206, allocations: 154.1 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4206, allocations: 0 / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004448/0.421, allocations: 207.2 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.375e-05/0.4211, allocations: 33.69 kB / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.4211, allocations: 4 kB / 1.072 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.4211, allocations: 0 / 1.072 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.355e-05/0.4212, allocations: 19.98 kB / 1.072 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.4212, allocations: 8 kB / 1.072 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002203/0.4215, allocations: 43.8 kB / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.4215, allocations: 4 kB / 1.073 GB, free: 5.457 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.0001181/0.4216, allocations: 127.3 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.796e-05/0.4216, allocations: 11.89 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.042e-05/0.4217, allocations: 8.375 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.4217, allocations: 8 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.4217, allocations: 0 / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.4217, allocations: 0 / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005158/0.4222, allocations: 374.4 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4223, allocations: 0 / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-05/0.4223, allocations: 15.98 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4223, allocations: 4 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.4223, allocations: 0 / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.4224, allocations: 3.938 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4224, allocations: 0 / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.4227, allocations: 211.3 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.296e-05/0.4227, allocations: 81.02 kB / 1.073 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.4227, allocations: 4 kB / 1.073 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.46e-05/0.4228, allocations: 11.98 kB / 1.073 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.4229, allocations: 8.047 kB / 1.073 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.4229, allocations: 11.94 kB / 1.073 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.941e-05/0.423, allocations: 91.27 kB / 1.073 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.423, allocations: 0 / 1.073 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002664/0.4232, allocations: 24 kB / 1.073 GB, free: 4.383 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.0002105/0.4235, allocations: 101.8 kB / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004011/0.4239, allocations: 179.3 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4239, allocations: 3.938 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.424, allocations: 39.97 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.4243, allocations: 15.98 kB / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003904/0.4247, allocations: 176.7 kB / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.4249, allocations: 0.6848 MB / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.553e-05/0.425, allocations: 11.77 kB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/0.425, allocations: 11.44 kB / 1.075 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of SimCode: time 4.31e-07/0.425, allocations: 4 kB / 1.075 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of Templates: time 0.003836/0.4289, allocations: 1.325 MB / 1.076 GB, free: 1.785 MB / 0.8262 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)