Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.625/2.625, allocations: 285 MB / 292.5 MB, free: 10.52 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001468/0.001468, allocations: 196.8 kB / 360.7 MB, free: 7.215 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.14/2.14, allocations: 205.3 MB / 0.6192 GB, free: 12.14 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 90.5 kB / 0.7322 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.184e-05/3.193e-05, allocations: 8 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8345/0.8345, allocations: 115.3 MB / 0.9635 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2317/1.066, allocations: 136.2 MB / 1.096 GB, free: 4.266 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/1.067, allocations: 63.97 kB / 1.097 GB, free: 4.203 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005855/1.067, allocations: 369.4 kB / 1.097 GB, free: 3.84 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.562e-06/1.067, allocations: 0.7188 kB / 1.097 GB, free: 3.84 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.733e-06/1.067, allocations: 0 / 1.097 GB, free: 3.84 MB / 0.698 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.0002869/1.068, allocations: 307.7 kB / 1.097 GB, free: 3.496 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.339e-05/1.068, allocations: 8.625 kB / 1.097 GB, free: 3.488 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.334e-05/1.068, allocations: 2.953 kB / 1.097 GB, free: 3.488 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/1.068, allocations: 167.9 kB / 1.097 GB, free: 3.285 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/1.068, allocations: 7.094 kB / 1.097 GB, free: 3.281 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-06/1.068, allocations: 3.594 kB / 1.097 GB, free: 3.281 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.134e-05/1.068, allocations: 0 / 1.097 GB, free: 3.281 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.807e-05/1.068, allocations: 27.44 kB / 1.097 GB, free: 3.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/1.068, allocations: 0 / 1.097 GB, free: 3.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/1.068, allocations: 6.734 kB / 1.097 GB, free: 3.246 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/1.068, allocations: 0 / 1.097 GB, free: 3.246 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003395/1.068, allocations: 360.5 kB / 1.098 GB, free: 2.855 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/1.069, allocations: 174.2 kB / 1.098 GB, free: 2.676 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.709e-05/1.069, allocations: 81.7 kB / 1.098 GB, free: 2.594 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.565e-05/1.069, allocations: 75.28 kB / 1.098 GB, free: 2.52 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.767e-05/1.069, allocations: 106.5 kB / 1.098 GB, free: 2.406 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.483e-06/1.069, allocations: 0.5938 kB / 1.098 GB, free: 2.406 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 8.105e-05/1.069, allocations: 29.7 kB / 1.098 GB, free: 2.371 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/1.069, allocations: 56.08 kB / 1.098 GB, free: 2.305 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.982e-05/1.069, allocations: 90.19 kB / 1.098 GB, free: 2.211 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/1.069, allocations: 25.7 kB / 1.098 GB, free: 2.18 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.895e-05/1.069, allocations: 80.73 kB / 1.098 GB, free: 2.098 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.278e-06/1.069, allocations: 0.8438 kB / 1.098 GB, free: 2.098 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.82e-07/1.069, allocations: 3.938 kB / 1.098 GB, free: 2.094 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.069, allocations: 317.9 kB / 1.099 GB, free: 1.777 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.597e-06/1.069, allocations: 0.7188 kB / 1.099 GB, free: 1.777 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.637e-06/1.069, allocations: 0.5938 kB / 1.099 GB, free: 1.777 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.991e-05/1.069, allocations: 80.06 kB / 1.099 GB, free: 1.699 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.522e-05/1.069, allocations: 75.28 kB / 1.099 GB, free: 1.625 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.017e-05/1.069, allocations: 26.39 kB / 1.099 GB, free: 1.594 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.387e-05/1.069, allocations: 81.03 kB / 1.099 GB, free: 1.516 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.82e-05/1.07, allocations: 87.27 kB / 1.099 GB, free: 1.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.29e-05/1.07, allocations: 155.1 kB / 1.099 GB, free: 1.277 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.277e-05/1.07, allocations: 75.97 kB / 1.099 GB, free: 1.203 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.891e-05/1.07, allocations: 155.3 kB / 1.099 GB, free: 1.051 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.815e-05/1.07, allocations: 85.5 kB / 1.1 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.55e-05/1.07, allocations: 76.44 kB / 1.1 GB, free: 0.8945 MB / 0.698 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 () * 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.0001388/1.07, allocations: 261.3 kB / 1.1 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.049e-05/1.07, allocations: 101.6 kB / 1.1 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.066e-05/1.07, allocations: 120.1 kB / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.916e-05/1.07, allocations: 177.3 kB / 1.1 GB, free: 232 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.206e-05/1.07, allocations: 181 kB / 1.1 GB, free: 44 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001044/1.071, allocations: 186 kB / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/1.071, allocations: 381.8 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-05/1.071, allocations: 108.1 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.141e-05/1.071, allocations: 104.9 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.919e-05/1.071, allocations: 176.3 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-05/1.071, allocations: 176.3 kB / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.555e-05/1.071, allocations: 199.2 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-05/1.071, allocations: 176.3 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/1.071, allocations: 300.7 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.761e-05/1.072, allocations: 186 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.799e-05/1.072, allocations: 181.3 kB / 1.102 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/1.072, allocations: 112.9 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.736e-05/1.072, allocations: 176.3 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-05/1.072, allocations: 101 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.683e-05/1.072, allocations: 79.22 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/1.072, allocations: 0 / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003471/1.072, allocations: 0 / 1.103 GB, free: 13.3 MB / 0.7136 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 () * 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.0001921/1.073, allocations: 182.6 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 3.737e-05/1.073, allocations: 0 / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.073, allocations: 0 / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.184e-06/1.073, allocations: 3 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/1.073, allocations: 0.5238 MB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000225/1.073, allocations: 123.8 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/1.074, allocations: 0.6768 MB / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.206e-06/1.074, allocations: 0 / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.179e-05/1.074, allocations: 7.438 kB / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of SimCode: time 8.32e-07/1.074, allocations: 0 / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of Templates: time 0.002061/1.076, allocations: 148.2 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)