Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.486/2.486, allocations: 251.3 MB / 266.2 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002057/0.002057, allocations: 177.8 kB / 325.8 MB, free: 2.812 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.729/2.729, allocations: 205.4 MB / 0.5767 GB, free: 21.1 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001315/0.001315, allocations: 98.53 kB / 0.6813 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004715/0.0004716, allocations: 13.19 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2143, allocations: 106.3 MB / 0.8991 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0007556/0.2151, allocations: 294.6 kB / 0.8993 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 3.675e-05/0.2151, allocations: 0 / 0.8993 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.222e-05/0.2152, allocations: 0 / 0.8993 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.246e-05/0.2152, allocations: 0 / 0.8993 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.906e-05/0.2152, allocations: 0 / 0.8993 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.642e-05/0.2153, allocations: 0 / 0.8993 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.71e-05/0.2153, allocations: 8 kB / 0.8993 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.188e-05/0.2154, allocations: 3.984 kB / 0.8993 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.532e-05/0.2154, allocations: 3.938 kB / 0.8994 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.082e-05/0.2154, allocations: 4 kB / 0.8994 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.2155, allocations: 3.938 kB / 0.8994 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.197e-06/0.2155, allocations: 0 / 0.8994 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.917e-06/0.2155, allocations: 0 / 0.8994 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.235e-05/0.2155, allocations: 25.7 kB / 0.8994 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 3.896e-05/0.2156, allocations: 4 kB / 0.8994 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.2156, allocations: 0 / 0.8994 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2156, allocations: 0 / 0.8994 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.2156, allocations: 0 / 0.8994 GB, free: 65.55 MB / 0.6042 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.0002339/0.2158, allocations: 316.8 kB / 0.8997 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.2159, allocations: 16.09 kB / 0.8997 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.578e-05/0.2159, allocations: 0.9375 kB / 0.8997 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.917e-05/0.216, allocations: 160.4 kB / 0.8999 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.2161, allocations: 384 / 0.8999 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.2161, allocations: 384 / 0.8999 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.152e-05/0.2162, allocations: 38.2 kB / 0.8999 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.2162, allocations: 192 / 0.8999 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.2162, allocations: 3.938 kB / 0.8999 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.2162, allocations: 0 / 0.8999 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.731e-05/0.2162, allocations: 7.938 kB / 0.8999 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002548/0.2165, allocations: 379.5 kB / 0.9003 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.311e-05/0.2166, allocations: 169.1 kB / 0.9004 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.127e-05/0.2166, allocations: 92.11 kB / 0.9005 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.2166, allocations: 79.28 kB / 0.9006 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.2167, allocations: 110.9 kB / 0.9007 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.383e-06/0.2167, allocations: 0 / 0.9007 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.177e-05/0.2168, allocations: 25.7 kB / 0.9007 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.2168, allocations: 130.7 kB / 0.9009 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.01e-05/0.2169, allocations: 93.86 kB / 0.9009 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.685e-06/0.2169, allocations: 25.7 kB / 0.901 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.795e-05/0.217, allocations: 84.27 kB / 0.901 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-06/0.217, allocations: 0 / 0.901 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-07/0.217, allocations: 4 kB / 0.901 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.556e-05/0.217, allocations: 310.8 kB / 0.9013 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.127e-06/0.2171, allocations: 3.938 kB / 0.9013 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.446e-06/0.2171, allocations: 0 / 0.9013 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.782e-05/0.2171, allocations: 83.27 kB / 0.9014 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/0.2171, allocations: 79.22 kB / 0.9015 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.744e-05/0.2172, allocations: 37.64 kB / 0.9015 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.2172, allocations: 79.28 kB / 0.9016 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.2172, allocations: 83.22 kB / 0.9017 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.897e-05/0.2173, allocations: 150.6 kB / 0.9018 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.39e-05/0.2173, allocations: 79.28 kB / 0.9019 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.743e-05/0.2174, allocations: 154.5 kB / 0.9021 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.647e-05/0.2174, allocations: 79.27 kB / 0.9021 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.2175, allocations: 87.22 kB / 0.9022 GB, free: 62.43 MB / 0.6042 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 7.387e-05/0.2175, allocations: 264.3 kB / 0.9025 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.468e-05/0.2176, allocations: 101 kB / 0.9026 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.104e-05/0.2176, allocations: 104.1 kB / 0.9027 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.368e-05/0.2177, allocations: 184.2 kB / 0.9028 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.584e-05/0.2177, allocations: 184.2 kB / 0.903 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.312e-05/0.2178, allocations: 184.2 kB / 0.9032 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.2179, allocations: 401.2 kB / 0.9036 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.082e-05/0.218, allocations: 105 kB / 0.9037 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.291e-05/0.218, allocations: 104.9 kB / 0.9038 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.555e-05/0.2181, allocations: 188.2 kB / 0.904 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.824e-05/0.2181, allocations: 184.2 kB / 0.9041 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.55e-05/0.2181, allocations: 176.3 kB / 0.9043 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.668e-05/0.2182, allocations: 184.6 kB / 0.9045 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.206e-05/0.2183, allocations: 315.7 kB / 0.9048 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/0.2183, allocations: 182 kB / 0.905 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.448e-05/0.2184, allocations: 188.2 kB / 0.9051 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.851e-05/0.2185, allocations: 101 kB / 0.9052 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.087e-05/0.2185, allocations: 180.2 kB / 0.9054 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.2186, allocations: 101 kB / 0.9055 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.088e-05/0.2186, allocations: 87.28 kB / 0.9056 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.61e-07/0.2186, allocations: 0 / 0.9056 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000292/0.2189, allocations: 0 / 0.9056 GB, free: 58.76 MB / 0.6042 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.000127/0.2191, allocations: 174.5 kB / 0.9057 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 4.316e-05/0.2191, allocations: 3.938 kB / 0.9057 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.2191, allocations: 0 / 0.9057 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.2191, allocations: 4 kB / 0.9058 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.2195, allocations: 0.5225 MB / 0.9063 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001917/0.2197, allocations: 157.9 kB / 0.9064 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.2198, allocations: 0.6692 MB / 0.9071 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.047e-05/0.2199, allocations: 4 kB / 0.9071 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.677e-05/0.2199, allocations: 7.438 kB / 0.9071 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of SimCode: time 7.42e-07/0.2199, allocations: 4 kB / 0.9071 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of Templates: time 0.002222/0.2221, allocations: 160.2 kB / 0.9072 GB, free: 56.99 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)