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.035/5.035, allocations: 0.5623 GB / 0.5769 GB, free: 3.328 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.002371/0.002371, allocations: 358 kB / 0.644 GB, free: 185.6 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.229/4.229, allocations: 410.7 MB / 1.112 GB, free: 5.992 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.001783/0.001783, allocations: 187.8 kB / 1.225 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0008753/0.0008756, allocations: 16 kB / 1.348 GB, free: 8.219 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6258/0.6267, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001026/0.6279, allocations: 296.8 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 4.795e-05/0.6279, allocations: 6.109 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.329e-05/0.628, allocations: 0 / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.154e-05/0.628, allocations: 0 / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.395e-05/0.6281, allocations: 0 / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 3.629e-05/0.6281, allocations: 0 / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.309e-05/0.6282, allocations: 0 / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.454e-05/0.6283, allocations: 5.062 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.034e-05/0.6284, allocations: 4 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.384e-05/0.6284, allocations: 0 / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.6284, allocations: 2.75 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 5.744e-06/0.6285, allocations: 0 / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.6285, allocations: 7.922 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.292e-05/0.6285, allocations: 25.7 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 5.215e-05/0.6286, allocations: 0 / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.141e-06/0.6286, allocations: 4 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.548e-06/0.6287, allocations: 0 / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.141e-06/0.6287, allocations: 3.938 kB / 1.461 GB, free: 283.9 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.0003069/0.629, allocations: 304.2 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/0.6291, allocations: 17.89 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.288e-05/0.6292, allocations: 4 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.6293, allocations: 163 kB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.6293, allocations: 0 / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.6294, allocations: 0 / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.6295, allocations: 33.34 kB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.6295, allocations: 5.188 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.6296, allocations: 0 / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.717e-06/0.6296, allocations: 0 / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.712e-05/0.6296, allocations: 3.938 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/0.63, allocations: 387.5 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.556e-05/0.6301, allocations: 166.5 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.037e-05/0.6302, allocations: 81.95 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.6302, allocations: 75.28 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.6303, allocations: 114.7 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 4.735e-06/0.6303, allocations: 0 / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 0.000137/0.6305, allocations: 34.56 kB / 1.462 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.6306, allocations: 130.7 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.543e-05/0.6307, allocations: 96.36 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.6307, allocations: 25.7 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.828e-05/0.6308, allocations: 80.14 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.5e-06/0.6308, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.203e-06/0.6308, allocations: 0.625 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.071e-05/0.6309, allocations: 317.3 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.996e-06/0.6309, allocations: 4 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.869e-06/0.631, allocations: 0 / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.393e-05/0.631, allocations: 75.28 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.217e-05/0.631, allocations: 75.28 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001495/0.6312, allocations: 37.62 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.006e-05/0.6313, allocations: 87.5 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.871e-05/0.6313, allocations: 76.03 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.828e-05/0.6314, allocations: 155.1 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.351e-05/0.6314, allocations: 76.22 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.821e-05/0.6315, allocations: 161.1 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.6317, allocations: 79.22 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.6318, allocations: 79.28 kB / 1.464 GB, free: 280.9 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 0.0001142/0.6319, allocations: 273.2 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.632, allocations: 106.7 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.703e-05/0.6321, allocations: 105.8 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-05/0.6322, allocations: 180.2 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.392e-05/0.6322, allocations: 184.8 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.106e-05/0.6323, allocations: 186.2 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01642/0.6487, allocations: 401.1 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.874e-05/0.6489, allocations: 105.7 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.459e-05/0.6489, allocations: 108.9 kB / 1.465 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.743e-05/0.649, allocations: 177 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.745e-05/0.6491, allocations: 182.9 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-05/0.6492, allocations: 184.2 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.045e-05/0.6492, allocations: 176.3 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.6494, allocations: 313 kB / 1.466 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.411e-05/0.6495, allocations: 180.1 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.475e-05/0.6496, allocations: 185.2 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.6498, allocations: 117.9 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.113e-05/0.6499, allocations: 185.6 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-05/0.6499, allocations: 101 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.743e-05/0.65, allocations: 83.94 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.229e-06/0.6501, allocations: 0 / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008511/0.6509, allocations: 1.188 kB / 1.467 GB, free: 277.2 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001734/0.6511, allocations: 175.9 kB / 1.467 GB, free: 277 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.636e-05/0.6512, allocations: 0 / 1.467 GB, free: 277 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.025e-06/0.6512, allocations: 0 / 1.467 GB, free: 277 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.936e-06/0.6513, allocations: 8.812 kB / 1.467 GB, free: 277 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007539/0.652, allocations: 0.5282 MB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002578/0.6523, allocations: 150 kB / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.6525, allocations: 0.6786 MB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.29e-05/0.6526, allocations: 0 / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.099e-05/0.6526, allocations: 7.438 kB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of SimCode: time 2.216e-06/0.6526, allocations: 0 / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.003595/0.6562, allocations: 155.9 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB