Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") 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: 98.27 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.009535/0.009535, allocations: 170.4 kB / 16.27 MB, free: 6.648 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.604/1.604, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.893/2.893, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004221/0.000422, allocations: 14.53 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4937/0.4941, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0009676/0.4952, allocations: 286 kB / 1.074 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 4.925e-05/0.4952, allocations: 4 kB / 1.074 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.456e-05/0.4953, allocations: 3.938 kB / 1.074 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.028e-05/0.4953, allocations: 0 / 1.074 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.486e-05/0.4953, allocations: 0 / 1.074 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.627e-05/0.4954, allocations: 0 / 1.074 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.59e-05/0.4955, allocations: 4 kB / 1.074 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.981e-05/0.4955, allocations: 4 kB / 1.074 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.731e-05/0.4956, allocations: 0 / 1.074 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.436e-05/0.4956, allocations: 0 / 1.074 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.4956, allocations: 0 / 1.074 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.233e-06/0.4956, allocations: 4 kB / 1.074 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.4956, allocations: 0 / 1.074 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.017e-05/0.4957, allocations: 25.7 kB / 1.074 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.969e-05/0.4958, allocations: 11.91 kB / 1.074 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4958, allocations: 0 / 1.074 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4958, allocations: 0 / 1.074 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.4958, allocations: 0 / 1.074 GB, free: 7.188 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003485/0.4962, allocations: 315.6 kB / 1.075 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.4962, allocations: 8.031 kB / 1.075 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.4963, allocations: 0.9375 kB / 1.075 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.4964, allocations: 164.3 kB / 1.075 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.4964, allocations: 4.359 kB / 1.075 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.4965, allocations: 4.375 kB / 1.075 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.844e-05/0.4966, allocations: 26.27 kB / 1.075 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.4966, allocations: 192 / 1.075 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.4966, allocations: 7.938 kB / 1.075 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.4966, allocations: 0 / 1.075 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.844e-05/0.4966, allocations: 4 kB / 1.075 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004657/0.4971, allocations: 375.5 kB / 1.075 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.4972, allocations: 181 kB / 1.076 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.821e-05/0.4973, allocations: 84.14 kB / 1.076 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.829e-05/0.4973, allocations: 75.28 kB / 1.076 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.872e-05/0.4974, allocations: 105.8 kB / 1.076 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.663e-06/0.4974, allocations: 3.938 kB / 1.076 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 9.396e-05/0.4975, allocations: 35.81 kB / 1.076 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.681e-05/0.4976, allocations: 126.7 kB / 1.076 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.4977, allocations: 101.8 kB / 1.076 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.4978, allocations: 29.7 kB / 1.076 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.787e-05/0.4978, allocations: 80.17 kB / 1.076 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.186e-06/0.4978, allocations: 0 / 1.076 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.4978, allocations: 9.719 kB / 1.076 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.498, allocations: 314.8 kB / 1.076 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.489e-06/0.498, allocations: 0 / 1.076 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.248e-06/0.498, allocations: 0 / 1.076 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.924e-05/0.4981, allocations: 75.41 kB / 1.077 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.338e-05/0.4981, allocations: 83.22 kB / 1.077 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.724e-05/0.4982, allocations: 33.64 kB / 1.077 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.956e-05/0.4982, allocations: 84.62 kB / 1.077 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.789e-05/0.4983, allocations: 83.27 kB / 1.077 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.68e-05/0.4984, allocations: 158.5 kB / 1.077 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.604e-05/0.4984, allocations: 79.22 kB / 1.077 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.591e-05/0.4985, allocations: 154.6 kB / 1.077 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.556e-05/0.4986, allocations: 87.12 kB / 1.077 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.983e-05/0.4986, allocations: 75.28 kB / 1.077 GB, free: 4.047 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001538/0.4988, allocations: 260.3 kB / 1.078 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-05/0.4989, allocations: 109 kB / 1.078 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.408e-05/0.499, allocations: 115.8 kB / 1.078 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.342e-05/0.4991, allocations: 180.3 kB / 1.078 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.181e-05/0.4992, allocations: 180.2 kB / 1.078 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.831e-05/0.4993, allocations: 180.3 kB / 1.078 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002971/0.4996, allocations: 409.2 kB / 1.079 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.145e-05/0.4996, allocations: 104.9 kB / 1.079 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.127e-05/0.4997, allocations: 105 kB / 1.079 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001042/0.4998, allocations: 188.5 kB / 1.079 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.9e-05/0.4999, allocations: 180.2 kB / 1.079 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001002/0.5, allocations: 176.3 kB / 1.079 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.404e-05/0.5001, allocations: 188.2 kB / 1.08 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.5003, allocations: 311.7 kB / 1.08 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.908e-05/0.5004, allocations: 182.1 kB / 1.08 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.5005, allocations: 180.3 kB / 1.08 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.113e-05/0.5006, allocations: 104.9 kB / 1.08 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.177e-05/0.5007, allocations: 176.3 kB / 1.081 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.986e-05/0.5008, allocations: 116.9 kB / 1.081 GB, free: 460 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.578e-05/0.5009, allocations: 75.28 kB / 1.081 GB, free: 384 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5009, allocations: 0 / 1.081 GB, free: 384 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002727/0.5011, allocations: 3.938 kB / 1.081 GB, free: 380 kB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0001944/0.5013, allocations: 174.5 kB / 1.081 GB, free: 192 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.516e-05/0.5014, allocations: 4 kB / 1.081 GB, free: 188 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.5014, allocations: 4.094 kB / 1.081 GB, free: 184 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.5014, allocations: 0 / 1.081 GB, free: 184 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004928/0.5019, allocations: 0.5198 MB / 1.081 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003253/0.5023, allocations: 165.9 kB / 1.082 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.5026, allocations: 0.6692 MB / 1.082 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.276e-05/0.5027, allocations: 4 kB / 1.082 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.651e-05/0.5027, allocations: 7.438 kB / 1.082 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of SimCode: time 5.71e-07/0.5027, allocations: 0 / 1.082 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of Templates: time 0.00234/0.5051, allocations: 152.8 kB / 1.082 GB, free: 14.61 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)