Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 107.9 kB / 16.36 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.00109, allocations: 193.2 kB / 17.3 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.844/1.844, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 72.47 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2222, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Product): time 0.001948/0.2242, allocations: 0.6948 MB / 0.7855 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009049/0.2252, allocations: 0.8048 MB / 0.7863 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.968e-05/0.2252, allocations: 0 / 0.7863 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.271e-05/0.2253, allocations: 7.938 kB / 0.7863 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.623e-05/0.2254, allocations: 3.938 kB / 0.7863 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 7.592e-05/0.2254, allocations: 15.97 kB / 0.7863 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.249e-05/0.2255, allocations: 39.92 kB / 0.7863 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.2256, allocations: 15.97 kB / 0.7863 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.625e-05/0.2257, allocations: 15.88 kB / 0.7864 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.709e-05/0.2258, allocations: 27.91 kB / 0.7864 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.2258, allocations: 4 kB / 0.7864 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.099e-05/0.2258, allocations: 8 kB / 0.7864 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.2258, allocations: 4 kB / 0.7864 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.312e-05/0.2259, allocations: 19.86 kB / 0.7864 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.685e-05/0.226, allocations: 35.88 kB / 0.7865 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.226, allocations: 4 kB / 0.7865 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.423e-06/0.226, allocations: 0 / 0.7865 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.226, allocations: 0 / 0.7865 GB, free: 1.469 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005137/0.2265, allocations: 363.3 kB / 0.7868 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.2266, allocations: 12.03 kB / 0.7868 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.2266, allocations: 8.844 kB / 0.7868 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.2267, allocations: 168.3 kB / 0.787 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.2267, allocations: 4.375 kB / 0.787 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/0.2267, allocations: 384 / 0.787 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002528/0.227, allocations: 74.16 kB / 0.7871 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.227, allocations: 192 / 0.7871 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.227, allocations: 7.938 kB / 0.7871 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.227, allocations: 7.938 kB / 0.7871 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002876/0.2273, allocations: 63.92 kB / 0.7871 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.2277, allocations: 264.9 kB / 0.7874 GB, free: 380 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.2279, allocations: 70.41 kB / 0.7875 GB, free: 300 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.2281, allocations: 32.92 kB / 0.7875 GB, free: 264 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.2281, allocations: 0 / 0.7875 GB, free: 264 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.2281, allocations: 34.56 kB / 0.7875 GB, free: 220 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.2281, allocations: 0 / 0.7875 GB, free: 220 kB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0005104/0.2286, allocations: 133.7 kB / 0.7877 GB, free: 80 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.2287, allocations: 51.41 kB / 0.7877 GB, free: 16 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.412/0.6407, allocations: 107.2 kB / 0.7878 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.6408, allocations: 25.7 kB / 0.7878 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.087e-05/0.6408, allocations: 91.64 kB / 0.7879 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.6408, allocations: 7.062 kB / 0.7879 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.77e-05/0.6409, allocations: 14.28 kB / 0.7879 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.277e-05/0.641, allocations: 320 kB / 0.7882 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/0.6411, allocations: 31 kB / 0.7883 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.6413, allocations: 29.83 kB / 0.7883 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/0.6415, allocations: 71.52 kB / 0.7884 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.6415, allocations: 3.75 kB / 0.7884 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003037/0.6418, allocations: 98.67 kB / 0.7885 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.6419, allocations: 6.062 kB / 0.7885 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.6419, allocations: 2.875 kB / 0.7885 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.6419, allocations: 0 / 0.7885 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.642, allocations: 16.28 kB / 0.7885 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.6421, allocations: 2.844 kB / 0.7885 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.511e-05/0.6421, allocations: 15.62 kB / 0.7885 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.6422, allocations: 1 kB / 0.7885 GB, free: 48.41 MB / 0.6544 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.339e-05/0.6422, allocations: 110.3 kB / 0.7886 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.6423, allocations: 10.09 kB / 0.7886 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.484e-05/0.6423, allocations: 3.906 kB / 0.7886 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.6423, allocations: 3.938 kB / 0.7886 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6423, allocations: 2.938 kB / 0.7886 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.6423, allocations: 4.391 kB / 0.7886 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.6425, allocations: 164.8 kB / 0.7888 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.6425, allocations: 0.8438 kB / 0.7888 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.011e-05/0.6426, allocations: 26.23 kB / 0.7888 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.6426, allocations: 1.219 kB / 0.7888 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.505e-06/0.6426, allocations: 0 / 0.7888 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.6426, allocations: 7.344 kB / 0.7888 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.6426, allocations: 0 / 0.7888 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002941/0.6429, allocations: 194.8 kB / 0.789 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.284e-05/0.6429, allocations: 81.08 kB / 0.7891 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.643, allocations: 3.312 kB / 0.7891 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.64e-05/0.6431, allocations: 13.77 kB / 0.7891 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.6431, allocations: 8.828 kB / 0.7891 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.6431, allocations: 2.344 kB / 0.7891 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.806e-05/0.6431, allocations: 87.08 kB / 0.7892 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6432, allocations: 3.969 kB / 0.7892 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002147/0.6434, allocations: 3.312 kB / 0.7892 GB, free: 47.79 MB / 0.6544 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001464/0.6435, allocations: 103.3 kB / 0.7893 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003074/0.6438, allocations: 74.78 kB / 0.7894 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.6439, allocations: 0 / 0.7894 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.644, allocations: 39.59 kB / 0.7894 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.6443, allocations: 6.781 kB / 0.7894 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002976/0.6446, allocations: 127.3 kB / 0.7895 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/0.6448, allocations: 0.6798 MB / 0.7902 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.901e-05/0.6448, allocations: 4.188 kB / 0.7902 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.6448, allocations: 7.438 kB / 0.7902 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.6448, allocations: 0 / 0.7902 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of Templates: time 0.002779/0.6476, allocations: 0.6772 MB / 0.7909 GB, free: 46.9 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe 2>&1)