Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.638/5.638, allocations: 0.5623 GB / 0.5776 GB, free: 3.398 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002495/0.002495, allocations: 355.6 kB / 0.6447 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.399/4.399, allocations: 410.7 MB / 1.113 GB, free: 6.02 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001833/0.001833, allocations: 179.3 kB / 1.226 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000748/0.0007484, allocations: 12 kB / 1.349 GB, free: 8.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7866/0.7873, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0008944/0.7883, allocations: 284.3 kB / 1.462 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 3.867e-05/0.7884, allocations: 11.88 kB / 1.462 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.592e-05/0.7884, allocations: 0 / 1.462 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.686e-05/0.7884, allocations: 0.75 kB / 1.462 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 2.801e-05/0.7885, allocations: 0 / 1.462 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 3.018e-05/0.7885, allocations: 0.5312 kB / 1.462 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.868e-05/0.7886, allocations: 0.5938 kB / 1.462 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 6.469e-05/0.7887, allocations: 6.797 kB / 1.462 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 1.548e-05/0.7887, allocations: 1.062 kB / 1.462 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.176e-05/0.7887, allocations: 3.984 kB / 1.462 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.7888, allocations: 0 / 1.462 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 4.85e-06/0.7888, allocations: 1.469 kB / 1.462 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.7888, allocations: 3.938 kB / 1.462 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.074e-05/0.7888, allocations: 25.7 kB / 1.462 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 4.479e-05/0.7889, allocations: 3.984 kB / 1.462 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.7889, allocations: 4.906 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7889, allocations: 0 / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.7889, allocations: 0.6562 kB / 1.462 GB, free: 284 MB / 0.8542 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.0002622/0.7892, allocations: 308.1 kB / 1.462 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.7893, allocations: 11.62 kB / 1.462 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.7893, allocations: 10.58 kB / 1.462 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.7895, allocations: 163 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.7895, allocations: 0 / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.7895, allocations: 1.312 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.581e-05/0.7896, allocations: 25.7 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.7896, allocations: 5 kB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.7897, allocations: 0 / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.7897, allocations: 4 kB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.976e-05/0.7897, allocations: 6.688 kB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002983/0.79, allocations: 383.5 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.297e-05/0.7901, allocations: 171.2 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.594e-05/0.7901, allocations: 84.08 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.7902, allocations: 75.28 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.7902, allocations: 114.6 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 2.926e-06/0.7902, allocations: 1.828 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 9.516e-05/0.7903, allocations: 30.28 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.7904, allocations: 53.03 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.173e-05/0.7905, allocations: 101.8 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.7905, allocations: 25.7 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.422e-05/0.7905, allocations: 81.27 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/0.7906, allocations: 0 / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-07/0.7906, allocations: 0.625 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.952e-05/0.7907, allocations: 316.1 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.118e-06/0.7907, allocations: 0 / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.179e-06/0.7907, allocations: 4 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.858e-05/0.7907, allocations: 77.69 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.558e-05/0.7907, allocations: 75.28 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0) (initialization): time 9.169e-05/0.7909, allocations: 33.62 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.7909, allocations: 83.28 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/0.7909, allocations: 75.28 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.596e-05/0.791, allocations: 155.2 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.948e-05/0.791, allocations: 81.06 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.071e-05/0.7911, allocations: 154.6 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.7912, allocations: 83.62 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.7912, allocations: 80.03 kB / 1.464 GB, free: 281 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.021e-05/0.7913, allocations: 265.6 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.899e-05/0.7914, allocations: 111.4 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.009e-05/0.7915, allocations: 108.9 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.012e-05/0.7915, allocations: 177 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.734e-05/0.7916, allocations: 104.9 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.315e-05/0.7916, allocations: 186.9 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.94e-05/0.7917, allocations: 182.2 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.7918, allocations: 104.9 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.7919, allocations: 184.3 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 5.742e-05/0.792, allocations: 256.8 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001233/0.7921, allocations: 384.7 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.339e-05/0.7922, allocations: 101.7 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.802e-05/0.7922, allocations: 80.28 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of Backend: time 8.82e-07/0.7922, allocations: 0 / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005405/0.7928, allocations: 79.61 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0003931/0.7932, allocations: 0.978 MB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.002708/0.7959, allocations: 182.8 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB