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.001889/0.001888, allocations: 100.5 kB / 16.36 MB, free: 6.305 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.001943/0.001943, allocations: 192.8 kB / 17.29 MB, free: 5.875 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.421/1.421, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.842/1.842, allocations: 292.3 MB / 0.5496 GB, free: 17.61 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.001522/0.001522, allocations: 75.03 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2921, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Product): time 0.002101/0.2942, allocations: 0.6906 MB / 0.7855 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.2953, allocations: 0.8087 MB / 0.7863 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.841e-05/0.2954, allocations: 3.938 kB / 0.7863 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.583e-05/0.2954, allocations: 3.938 kB / 0.7863 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.574e-05/0.2955, allocations: 11.92 kB / 0.7863 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 5.96e-05/0.2956, allocations: 11.98 kB / 0.7863 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.605e-05/0.2957, allocations: 43.84 kB / 0.7863 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.2958, allocations: 8 kB / 0.7863 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.588e-05/0.2959, allocations: 19.92 kB / 0.7864 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.116e-05/0.2959, allocations: 27.91 kB / 0.7864 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.2959, allocations: 4 kB / 0.7864 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.296, allocations: 4 kB / 0.7864 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.954e-05/0.296, allocations: 4 kB / 0.7864 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.183e-05/0.296, allocations: 19.86 kB / 0.7864 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.807e-05/0.2961, allocations: 39.86 kB / 0.7865 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2961, allocations: 0 / 0.7865 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2961, allocations: 0 / 0.7865 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.2962, allocations: 0 / 0.7865 GB, free: 1.441 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.0006114/0.2968, allocations: 363.4 kB / 0.7868 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.2968, allocations: 12.03 kB / 0.7868 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.2969, allocations: 8.828 kB / 0.7868 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.297, allocations: 172.3 kB / 0.787 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.297, allocations: 384 / 0.787 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.2971, allocations: 8.359 kB / 0.787 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.2974, allocations: 66.22 kB / 0.7871 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.2974, allocations: 4.188 kB / 0.7871 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.2974, allocations: 7.938 kB / 0.7871 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.2974, allocations: 0 / 0.7871 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002864/0.2977, allocations: 67.86 kB / 0.7871 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004477/0.2982, allocations: 272.8 kB / 0.7874 GB, free: 344 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.2984, allocations: 62.47 kB / 0.7875 GB, free: 272 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.2985, allocations: 36.92 kB / 0.7875 GB, free: 232 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.2986, allocations: 0 / 0.7875 GB, free: 232 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.2986, allocations: 30.56 kB / 0.7875 GB, free: 192 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.2986, allocations: 4 kB / 0.7875 GB, free: 188 kB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0006008/0.2992, allocations: 129.5 kB / 0.7877 GB, free: 52 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.363/0.6622, allocations: 51.41 kB / 0.7877 GB, free: 48.92 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.6623, allocations: 108 kB / 0.7878 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.6623, allocations: 25.7 kB / 0.7878 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.334e-05/0.6624, allocations: 88.83 kB / 0.7879 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.6624, allocations: 8.234 kB / 0.7879 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.6625, allocations: 15.44 kB / 0.7879 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.114e-05/0.6625, allocations: 316 kB / 0.7882 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.6627, allocations: 34.31 kB / 0.7883 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.6628, allocations: 35.81 kB / 0.7883 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/0.6631, allocations: 69.09 kB / 0.7884 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.6631, allocations: 3.75 kB / 0.7884 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003177/0.6634, allocations: 96.88 kB / 0.7885 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.6635, allocations: 6.156 kB / 0.7885 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.6635, allocations: 0 / 0.7885 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.6635, allocations: 0 / 0.7885 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.6637, allocations: 19.75 kB / 0.7885 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.6637, allocations: 4.688 kB / 0.7885 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.607e-05/0.6638, allocations: 9.469 kB / 0.7885 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.6638, allocations: 0 / 0.7885 GB, free: 48.34 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 5.7e-05/0.6638, allocations: 113.8 kB / 0.7886 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.6639, allocations: 8.422 kB / 0.7886 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.941e-05/0.6639, allocations: 10.66 kB / 0.7886 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.6639, allocations: 6.844 kB / 0.7886 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.6639, allocations: 0 / 0.7886 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.6639, allocations: 0 / 0.7886 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.6641, allocations: 171.9 kB / 0.7888 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6641, allocations: 0 / 0.7888 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.893e-05/0.6642, allocations: 15.3 kB / 0.7888 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.6642, allocations: 1.172 kB / 0.7888 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.6642, allocations: 6.516 kB / 0.7888 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.6642, allocations: 3.938 kB / 0.7888 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6642, allocations: 0 / 0.7888 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003211/0.6645, allocations: 195.9 kB / 0.789 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.807e-05/0.6646, allocations: 78.42 kB / 0.7891 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.6646, allocations: 1.875 kB / 0.7891 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.6647, allocations: 27.92 kB / 0.7891 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.6647, allocations: 0 / 0.7891 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.6647, allocations: 0.8438 kB / 0.7891 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.666e-05/0.6648, allocations: 89.27 kB / 0.7892 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6648, allocations: 2.625 kB / 0.7892 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002134/0.665, allocations: 5.781 kB / 0.7892 GB, free: 47.72 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.0001268/0.6651, allocations: 102.2 kB / 0.7893 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003262/0.6655, allocations: 75.34 kB / 0.7894 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6655, allocations: 0 / 0.7894 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.6656, allocations: 35.64 kB / 0.7894 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.6659, allocations: 14.73 kB / 0.7894 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003124/0.6662, allocations: 146.4 kB / 0.7896 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.6663, allocations: 0.683 MB / 0.7902 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.6664, allocations: 11.34 kB / 0.7902 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.6664, allocations: 0 / 0.7902 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.001857/0.6683, allocations: 0.7421 MB / 0.791 GB, free: 46.8 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe 2>&1)