Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.0009039/0.0009039, allocations: 91.22 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.007078/0.007077, allocations: 171.3 kB / 16.26 MB, free: 6.613 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.548/1.548, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.018/3.018, allocations: 473.4 MB / 0.7469 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004179/0.0004177, allocations: 12.77 kB / 0.9158 GB, free: 33.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4712/0.4716, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0009441/0.4726, allocations: 290 kB / 1.074 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 4.944e-05/0.4727, allocations: 7.938 kB / 1.074 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.542e-05/0.4727, allocations: 0 / 1.074 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.901e-05/0.4727, allocations: 0 / 1.074 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.388e-05/0.4728, allocations: 0 / 1.074 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.624e-05/0.4728, allocations: 0 / 1.074 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.734e-05/0.4729, allocations: 4 kB / 1.074 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.012e-05/0.4729, allocations: 0 / 1.074 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.58e-05/0.473, allocations: 0 / 1.074 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.245e-05/0.473, allocations: 0 / 1.074 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.473, allocations: 0 / 1.074 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.609e-06/0.473, allocations: 11.94 kB / 1.074 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.4731, allocations: 0 / 1.074 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.883e-05/0.4731, allocations: 25.7 kB / 1.074 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.426e-05/0.4732, allocations: 11.91 kB / 1.074 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.4732, allocations: 4 kB / 1.074 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4732, allocations: 0 / 1.074 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.4732, allocations: 0 / 1.074 GB, free: 7.199 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.000303/0.4735, allocations: 307.6 kB / 1.075 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.4736, allocations: 8.031 kB / 1.075 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.19e-05/0.4736, allocations: 4.938 kB / 1.075 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.4737, allocations: 168.3 kB / 1.075 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.4738, allocations: 4.375 kB / 1.075 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.4738, allocations: 384 / 1.075 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.4739, allocations: 26.27 kB / 1.075 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.4739, allocations: 192 / 1.075 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.4739, allocations: 3.938 kB / 1.075 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.474, allocations: 0 / 1.075 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.808e-05/0.474, allocations: 4 kB / 1.075 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.4743, allocations: 387.5 kB / 1.075 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.026e-05/0.4744, allocations: 177.1 kB / 1.076 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.574e-05/0.4745, allocations: 80.14 kB / 1.076 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.4745, allocations: 75.28 kB / 1.076 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.439e-05/0.4745, allocations: 109.8 kB / 1.076 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.4745, allocations: 0 / 1.076 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.787e-05/0.4746, allocations: 35.81 kB / 1.076 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.231e-05/0.4747, allocations: 126.7 kB / 1.076 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.4748, allocations: 101.8 kB / 1.076 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.4748, allocations: 25.7 kB / 1.076 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.858e-05/0.4749, allocations: 80.17 kB / 1.076 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-06/0.4749, allocations: 4.125 kB / 1.076 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.924e-05/0.4749, allocations: 9.719 kB / 1.076 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.475, allocations: 314.8 kB / 1.076 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.647e-06/0.475, allocations: 0 / 1.076 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.294e-06/0.4751, allocations: 0 / 1.076 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.291e-05/0.4751, allocations: 79.22 kB / 1.077 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-05/0.4751, allocations: 75.28 kB / 1.077 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.615e-05/0.4752, allocations: 37.58 kB / 1.077 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.445e-05/0.4752, allocations: 83.28 kB / 1.077 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.074e-05/0.4753, allocations: 83.27 kB / 1.077 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.267e-05/0.4753, allocations: 154.6 kB / 1.077 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.461e-05/0.4754, allocations: 79.22 kB / 1.077 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-05/0.4754, allocations: 154.5 kB / 1.077 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.897e-05/0.4755, allocations: 95.06 kB / 1.077 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.94e-05/0.4756, allocations: 75.28 kB / 1.077 GB, free: 4.059 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.0001185/0.4757, allocations: 264.3 kB / 1.078 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-05/0.4758, allocations: 109 kB / 1.078 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.36e-05/0.4758, allocations: 115.8 kB / 1.078 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.362e-05/0.4759, allocations: 176.3 kB / 1.078 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.386e-05/0.476, allocations: 180.2 kB / 1.078 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.098e-05/0.4761, allocations: 184.3 kB / 1.078 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.4763, allocations: 405.2 kB / 1.079 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.962e-05/0.4764, allocations: 104.9 kB / 1.079 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.871e-05/0.4764, allocations: 101 kB / 1.079 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.537e-05/0.4765, allocations: 192.5 kB / 1.079 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.228e-05/0.4766, allocations: 180.3 kB / 1.079 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-05/0.4766, allocations: 176.3 kB / 1.079 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-05/0.4767, allocations: 188.2 kB / 1.08 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.4769, allocations: 307.7 kB / 1.08 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.832e-05/0.477, allocations: 186.1 kB / 1.08 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.076e-05/0.4771, allocations: 180.3 kB / 1.08 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.524e-05/0.4771, allocations: 104.9 kB / 1.08 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.385e-05/0.4772, allocations: 176.3 kB / 1.08 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-05/0.4773, allocations: 112.9 kB / 1.081 GB, free: 476 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.592e-05/0.4773, allocations: 75.28 kB / 1.081 GB, free: 400 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4773, allocations: 96 / 1.081 GB, free: 400 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002359/0.4776, allocations: 4 kB / 1.081 GB, free: 396 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.0001697/0.4777, allocations: 174.5 kB / 1.081 GB, free: 208 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.007e-05/0.4778, allocations: 4 kB / 1.081 GB, free: 204 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4778, allocations: 0 / 1.081 GB, free: 204 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.396e-06/0.4778, allocations: 0 / 1.081 GB, free: 204 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.4783, allocations: 0.5378 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.0002347/0.4785, allocations: 154 kB / 1.082 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.4788, allocations: 0.6692 MB / 1.082 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.265e-05/0.4788, allocations: 0 / 1.082 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.021e-05/0.4788, allocations: 7.438 kB / 1.082 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of SimCode: time 3.6e-07/0.4789, allocations: 0 / 1.082 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of Templates: time 0.002175/0.481, allocations: 156.8 kB / 1.082 GB, free: 14.62 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)