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.001104/0.001104, allocations: 105.1 kB / 16.29 MB, free: 6.031 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.001068/0.001068, allocations: 179.3 kB / 17.22 MB, free: 5.641 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.652/1.652, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.948/1.948, allocations: 292.3 MB / 0.5495 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.001449/0.00145, allocations: 71.91 kB / 0.6722 GB, free: 6.566 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3164, allocations: 114.6 MB / 0.7841 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Product): time 0.00254/0.319, allocations: 0.6943 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.3202, allocations: 0.8087 MB / 0.7856 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.966e-05/0.3202, allocations: 0 / 0.7856 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.489e-05/0.3203, allocations: 7.938 kB / 0.7856 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.492e-05/0.3204, allocations: 3.938 kB / 0.7856 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 6.212e-05/0.3204, allocations: 7.984 kB / 0.7856 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.594e-05/0.3205, allocations: 51.84 kB / 0.7856 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.3207, allocations: 11.98 kB / 0.7856 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.525e-05/0.3208, allocations: 15.92 kB / 0.7857 GB, free: 2.277 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.083e-05/0.3208, allocations: 19.92 kB / 0.7857 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.3208, allocations: 4 kB / 0.7857 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.769e-06/0.3209, allocations: 4 kB / 0.7857 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.389e-05/0.3209, allocations: 11.98 kB / 0.7857 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.856e-05/0.3209, allocations: 19.88 kB / 0.7857 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.321, allocations: 43.86 kB / 0.7858 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3211, allocations: 0 / 0.7858 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.865e-06/0.3211, allocations: 0 / 0.7858 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.3211, allocations: 0 / 0.7858 GB, free: 2.176 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.0006247/0.3217, allocations: 355.7 kB / 0.7861 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.3218, allocations: 12.03 kB / 0.7861 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.3218, allocations: 16.78 kB / 0.7861 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.3219, allocations: 176.2 kB / 0.7863 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.322, allocations: 4.375 kB / 0.7863 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.322, allocations: 384 / 0.7863 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/0.3222, allocations: 66.22 kB / 0.7864 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3222, allocations: 4.188 kB / 0.7864 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.3223, allocations: 3.938 kB / 0.7864 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.3223, allocations: 11.94 kB / 0.7864 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002806/0.3226, allocations: 59.92 kB / 0.7864 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004275/0.323, allocations: 272.8 kB / 0.7867 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.3232, allocations: 58.48 kB / 0.7868 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.3233, allocations: 36.91 kB / 0.7868 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.3234, allocations: 0 / 0.7868 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.3234, allocations: 42.55 kB / 0.7868 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.3234, allocations: 0 / 0.7868 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0005003/0.3239, allocations: 129.5 kB / 0.787 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.324, allocations: 55.39 kB / 0.787 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.3241, allocations: 101.9 kB / 0.7871 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.3241, allocations: 25.7 kB / 0.7871 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.581e-05/0.3242, allocations: 96.03 kB / 0.7872 GB, free: 488 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.3242, allocations: 3.906 kB / 0.7872 GB, free: 484 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.3242, allocations: 21.72 kB / 0.7872 GB, free: 456 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3244, allocations: 314.8 kB / 0.7875 GB, free: 132 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.3245, allocations: 31.97 kB / 0.7876 GB, free: 100 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.3246, allocations: 27.97 kB / 0.7876 GB, free: 72 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.575/0.8996, allocations: 69.86 kB / 0.7877 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/0.8997, allocations: 3.75 kB / 0.7877 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004011/0.9001, allocations: 98.61 kB / 0.7878 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.9001, allocations: 5.25 kB / 0.7878 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.9001, allocations: 0 / 0.7878 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/0.9002, allocations: 0.7188 kB / 0.7878 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.9003, allocations: 18.25 kB / 0.7878 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.9003, allocations: 0 / 0.7878 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.781e-05/0.9004, allocations: 17.98 kB / 0.7878 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.9004, allocations: 3.125 kB / 0.7878 GB, free: 48.57 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 7.954e-05/0.9005, allocations: 111.7 kB / 0.7879 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.9006, allocations: 5.438 kB / 0.7879 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.728e-05/0.9006, allocations: 7.094 kB / 0.7879 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.9006, allocations: 0 / 0.7879 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.9006, allocations: 0 / 0.7879 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.9006, allocations: 2.625 kB / 0.7879 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.9008, allocations: 175.8 kB / 0.7881 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.9008, allocations: 3.281 kB / 0.7881 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.957e-05/0.9009, allocations: 18.34 kB / 0.7881 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.9009, allocations: 0 / 0.7881 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.9009, allocations: 3.375 kB / 0.7881 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.9009, allocations: 0 / 0.7881 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.9009, allocations: 1.312 kB / 0.7881 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.9012, allocations: 199.6 kB / 0.7883 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.991e-05/0.9013, allocations: 82.3 kB / 0.7884 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.9013, allocations: 0 / 0.7884 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.204e-05/0.9014, allocations: 14.16 kB / 0.7884 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/0.9014, allocations: 6.031 kB / 0.7884 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.9014, allocations: 0.5938 kB / 0.7884 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.905e-05/0.9015, allocations: 87.84 kB / 0.7885 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9015, allocations: 4.438 kB / 0.7885 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002097/0.9017, allocations: 14.12 kB / 0.7885 GB, free: 47.95 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.0001487/0.9019, allocations: 102.3 kB / 0.7886 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002874/0.9022, allocations: 69.88 kB / 0.7887 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.9022, allocations: 0 / 0.7887 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.9023, allocations: 40.36 kB / 0.7887 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.9026, allocations: 7.516 kB / 0.7887 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002751/0.9029, allocations: 117.9 kB / 0.7888 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001787/0.9031, allocations: 0.6813 MB / 0.7895 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.257e-05/0.9031, allocations: 0 / 0.7895 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.35e-05/0.9032, allocations: 10.31 kB / 0.7895 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.9032, allocations: 3.062 kB / 0.7895 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of Templates: time 0.003172/0.9064, allocations: 0.6857 MB / 0.7902 GB, free: 47.07 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe 2>&1)