Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_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_maint.7.0.x_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.00131/0.00131, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001917/0.001917, allocations: 192.1 kB / 16.13 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.741/1.741, allocations: 205.1 MB / 222 MB, free: 4.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.647/1.647, allocations: 251.7 MB / 0.5088 GB, free: 3.344 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001807, allocations: 71.83 kB / 0.6216 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7861/0.788, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.00307/0.7911, allocations: 0.6129 MB / 0.7244 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 7.742e-05/0.7912, allocations: 3.938 kB / 0.7244 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.047e-05/0.7913, allocations: 0 / 0.7244 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.157e-05/0.7913, allocations: 0 / 0.7244 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.956e-05/0.7914, allocations: 0 / 0.7244 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 4.797e-05/0.7915, allocations: 4 kB / 0.7245 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.071e-05/0.7916, allocations: 0 / 0.7245 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.773e-05/0.7917, allocations: 7.922 kB / 0.7245 GB, free: 12.51 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.851e-05/0.7917, allocations: 7.984 kB / 0.7245 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.698e-05/0.7917, allocations: 4 kB / 0.7245 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.7918, allocations: 0 / 0.7245 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.165e-06/0.7918, allocations: 4 kB / 0.7245 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.035e-05/0.7918, allocations: 0 / 0.7245 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.384e-05/0.7918, allocations: 0 / 0.7245 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.731e-05/0.7919, allocations: 4 kB / 0.7245 GB, free: 12.49 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.7919, allocations: 0 / 0.7245 GB, free: 12.49 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.115e-06/0.792, allocations: 0 / 0.7245 GB, free: 12.49 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.792, allocations: 3.938 kB / 0.7245 GB, free: 12.48 MB / 0.545 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.0004468/0.7924, allocations: 315.5 kB / 0.7248 GB, free: 12.12 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.847e-05/0.7925, allocations: 12.03 kB / 0.7248 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.883e-05/0.7925, allocations: 0.9375 kB / 0.7248 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.7927, allocations: 168.4 kB / 0.725 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.7927, allocations: 384 / 0.725 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.7927, allocations: 384 / 0.725 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.7929, allocations: 38.14 kB / 0.725 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.7929, allocations: 192 / 0.725 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.7929, allocations: 3.938 kB / 0.725 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.7929, allocations: 0 / 0.725 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.153e-05/0.7929, allocations: 0 / 0.725 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004159/0.7933, allocations: 383.5 kB / 0.7254 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.7935, allocations: 173 kB / 0.7255 GB, free: 11.26 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.787e-05/0.7935, allocations: 83 kB / 0.7256 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.189e-05/0.7936, allocations: 79.31 kB / 0.7257 GB, free: 11.1 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.561e-05/0.7936, allocations: 117.8 kB / 0.7258 GB, free: 10.97 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.7936, allocations: 0 / 0.7258 GB, free: 10.97 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 9.711e-05/0.7937, allocations: 25.7 kB / 0.7258 GB, free: 10.94 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.107e-05/0.7938, allocations: 126.7 kB / 0.7259 GB, free: 10.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.794, allocations: 97.8 kB / 0.726 GB, free: 10.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.794, allocations: 25.7 kB / 0.7261 GB, free: 10.67 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.202e-05/0.794, allocations: 80.14 kB / 0.7261 GB, free: 10.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.527e-06/0.794, allocations: 128 / 0.7261 GB, free: 10.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.7941, allocations: 17.72 kB / 0.7262 GB, free: 10.56 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.7942, allocations: 318.8 kB / 0.7265 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.791e-06/0.7942, allocations: 0 / 0.7265 GB, free: 10.24 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.18e-06/0.7942, allocations: 0 / 0.7265 GB, free: 10.24 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.461e-05/0.7943, allocations: 75.28 kB / 0.7265 GB, free: 10.17 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.212e-05/0.7943, allocations: 75.28 kB / 0.7266 GB, free: 10.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.793e-05/0.7944, allocations: 33.64 kB / 0.7266 GB, free: 10.05 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.642e-05/0.7944, allocations: 83.28 kB / 0.7267 GB, free: 9.973 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-05/0.7945, allocations: 79.22 kB / 0.7268 GB, free: 9.895 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.247e-05/0.7946, allocations: 154.6 kB / 0.7269 GB, free: 9.742 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.144e-05/0.7946, allocations: 75.28 kB / 0.727 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.991e-05/0.7947, allocations: 166.5 kB / 0.7272 GB, free: 9.504 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.715e-05/0.7948, allocations: 79.22 kB / 0.7272 GB, free: 9.426 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-05/0.7948, allocations: 83.22 kB / 0.7273 GB, free: 9.344 MB / 0.545 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.0001569/0.795, allocations: 264.3 kB / 0.7276 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.824e-05/0.7951, allocations: 101 kB / 0.7277 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.971e-05/0.7951, allocations: 112 kB / 0.7278 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.747e-05/0.7952, allocations: 184.2 kB / 0.7279 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.362e-05/0.7953, allocations: 176.3 kB / 0.7281 GB, free: 8.484 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.485e-05/0.7954, allocations: 184.2 kB / 0.7283 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/0.7957, allocations: 409.2 kB / 0.7287 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.302e-05/0.7957, allocations: 108.9 kB / 0.7288 GB, free: 7.727 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.579e-05/0.7958, allocations: 101 kB / 0.7289 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.772e-05/0.7959, allocations: 176.3 kB / 0.7291 GB, free: 7.441 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.796, allocations: 188.2 kB / 0.7292 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.667e-05/0.7961, allocations: 184.2 kB / 0.7294 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.067e-05/0.7962, allocations: 180.2 kB / 0.7296 GB, free: 6.879 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.7964, allocations: 312.1 kB / 0.7299 GB, free: 6.551 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.877e-05/0.7965, allocations: 182 kB / 0.73 GB, free: 6.348 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.7966, allocations: 188.3 kB / 0.7302 GB, free: 6.156 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.7967, allocations: 108.9 kB / 0.7303 GB, free: 6.043 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.306e-05/0.7968, allocations: 180.3 kB / 0.7305 GB, free: 5.859 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.07e-05/0.7969, allocations: 101 kB / 0.7306 GB, free: 5.754 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.702e-05/0.7969, allocations: 79.28 kB / 0.7307 GB, free: 5.676 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7969, allocations: 4.031 kB / 0.7307 GB, free: 5.672 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000283/0.7972, allocations: 4 kB / 0.7307 GB, free: 5.668 MB / 0.545 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.0002006/0.7974, allocations: 178.5 kB / 0.7309 GB, free: 5.48 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.055e-05/0.7975, allocations: 0 / 0.7309 GB, free: 5.48 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.7975, allocations: 0 / 0.7309 GB, free: 5.48 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.913e-06/0.7975, allocations: 0 / 0.7309 GB, free: 5.48 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.7979, allocations: 0.5332 MB / 0.7314 GB, free: 4.945 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002887/0.7982, allocations: 153.9 kB / 0.7315 GB, free: 4.766 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.7985, allocations: 0.6731 MB / 0.7322 GB, free: 4.066 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.306e-05/0.7986, allocations: 0 / 0.7322 GB, free: 4.066 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.066e-05/0.7986, allocations: 11.38 kB / 0.7322 GB, free: 4.055 MB / 0.545 GB Notification: Performance of SimCode: time 5.91e-07/0.7986, allocations: 0 / 0.7322 GB, free: 4.055 MB / 0.545 GB Notification: Performance of Templates: time 0.002123/0.8007, allocations: 168.8 kB / 0.7324 GB, free: 3.891 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)