Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.815/2.815, allocations: 285 MB / 292.5 MB, free: 10.53 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.001416/0.001415, allocations: 172.9 kB / 360.7 MB, free: 7.23 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 1.975/1.975, allocations: 205.3 MB / 0.6192 GB, free: 12.13 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.001107/0.001106, allocations: 89.59 kB / 0.7322 GB, free: 44.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.837e-05/2.837e-05, allocations: 8 kB / 0.8509 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8639/0.864, allocations: 115.2 MB / 0.9635 GB, free: 78.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.268/1.132, allocations: 136.2 MB / 1.096 GB, free: 4.32 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004569/1.133, allocations: 72.45 kB / 1.097 GB, free: 4.25 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0008/1.133, allocations: 366.3 kB / 1.097 GB, free: 3.891 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.084e-06/1.133, allocations: 0 / 1.097 GB, free: 3.891 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.955e-06/1.133, allocations: 0 / 1.097 GB, free: 3.891 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.0003716/1.134, allocations: 307.2 kB / 1.097 GB, free: 3.547 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.219e-05/1.134, allocations: 8.656 kB / 1.097 GB, free: 3.539 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.84e-05/1.134, allocations: 1.203 kB / 1.097 GB, free: 3.539 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/1.134, allocations: 167.9 kB / 1.097 GB, free: 3.336 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/1.134, allocations: 0 / 1.097 GB, free: 3.336 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/1.134, allocations: 4.625 kB / 1.097 GB, free: 3.332 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.576e-05/1.134, allocations: 0 / 1.097 GB, free: 3.332 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.522e-05/1.134, allocations: 26.73 kB / 1.097 GB, free: 3.301 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/1.134, allocations: 1.078 kB / 1.097 GB, free: 3.301 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/1.134, allocations: 7.016 kB / 1.097 GB, free: 3.301 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/1.134, allocations: 1 kB / 1.097 GB, free: 3.301 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004416/1.135, allocations: 370.1 kB / 1.098 GB, free: 2.906 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/1.135, allocations: 169.1 kB / 1.098 GB, free: 2.73 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.284e-05/1.135, allocations: 88.17 kB / 1.098 GB, free: 2.641 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.528e-05/1.135, allocations: 75.28 kB / 1.098 GB, free: 2.566 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.87e-05/1.135, allocations: 106.4 kB / 1.098 GB, free: 2.453 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 4.989e-06/1.135, allocations: 0.625 kB / 1.098 GB, free: 2.453 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 0.0001201/1.135, allocations: 29.69 kB / 1.098 GB, free: 2.418 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/1.136, allocations: 52.75 kB / 1.098 GB, free: 2.355 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/1.136, allocations: 89 kB / 1.098 GB, free: 2.262 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/1.136, allocations: 26.55 kB / 1.098 GB, free: 2.23 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.335e-05/1.136, allocations: 84.08 kB / 1.098 GB, free: 2.145 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-06/1.136, allocations: 0.5 kB / 1.098 GB, free: 2.145 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.62e-07/1.136, allocations: 0.7812 kB / 1.098 GB, free: 2.145 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001867/1.136, allocations: 318 kB / 1.099 GB, free: 1.828 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.681e-06/1.136, allocations: 0 / 1.099 GB, free: 1.828 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.849e-06/1.136, allocations: 0.8438 kB / 1.099 GB, free: 1.828 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.1e-05/1.136, allocations: 80 kB / 1.099 GB, free: 1.75 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.032e-05/1.136, allocations: 79.28 kB / 1.099 GB, free: 1.672 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 9.564e-05/1.136, allocations: 29.38 kB / 1.099 GB, free: 1.641 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001222/1.136, allocations: 83.77 kB / 1.099 GB, free: 1.559 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.775e-05/1.137, allocations: 79.84 kB / 1.099 GB, free: 1.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001122/1.137, allocations: 155.3 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.15e-05/1.137, allocations: 79.69 kB / 1.099 GB, free: 1.254 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-05/1.137, allocations: 155.1 kB / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/1.137, allocations: 80.16 kB / 1.1 GB, free: 1.023 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.019e-05/1.137, allocations: 79.97 kB / 1.1 GB, free: 0.9453 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.000226/1.137, allocations: 260.7 kB / 1.1 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/1.138, allocations: 108.9 kB / 1.1 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.501e-05/1.138, allocations: 109.5 kB / 1.1 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001097/1.138, allocations: 181.7 kB / 1.1 GB, free: 280 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001093/1.138, allocations: 177.1 kB / 1.1 GB, free: 96 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001337/1.138, allocations: 186.5 kB / 1.101 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003734/1.138, allocations: 381.8 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.842e-05/1.139, allocations: 104.9 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.721e-05/1.139, allocations: 104.9 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000127/1.139, allocations: 182.4 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/1.139, allocations: 180.2 kB / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001077/1.139, allocations: 184.2 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000117/1.139, allocations: 178.5 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/1.139, allocations: 304.7 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/1.14, allocations: 190 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/1.14, allocations: 180.2 kB / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/1.14, allocations: 101 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/1.14, allocations: 184.3 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-05/1.14, allocations: 104.9 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.571e-05/1.14, allocations: 79.27 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.31e-07/1.14, allocations: 0 / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005572/1.141, allocations: 3.906 kB / 1.103 GB, free: 13.34 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.0002478/1.141, allocations: 174.5 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.817e-05/1.141, allocations: 4.094 kB / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.141, allocations: 0 / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.937e-06/1.141, allocations: 0 / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005292/1.142, allocations: 0.5252 MB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002682/1.142, allocations: 120.3 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/1.143, allocations: 0.6807 MB / 1.104 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.11e-06/1.143, allocations: 0 / 1.104 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.943e-05/1.143, allocations: 7.438 kB / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of SimCode: time 1.472e-06/1.143, allocations: 3.938 kB / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of Templates: time 0.003062/1.146, allocations: 143.5 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1)