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.001112/0.001112, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001176/0.001177, allocations: 192.3 kB / 16.25 MB, free: 6.625 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.707/1.707, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.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.824/1.824, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001483/0.001483, allocations: 70.95 kB / 0.671 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.33, allocations: 114.5 MB / 0.7829 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Product): time 0.002784/0.3329, allocations: 0.7749 MB / 0.7836 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.334, allocations: 0.7971 MB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.986e-05/0.334, allocations: 0 / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.817e-05/0.3341, allocations: 3.938 kB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.701e-05/0.3342, allocations: 0 / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.143e-05/0.3342, allocations: 19.86 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.959e-05/0.3343, allocations: 47.91 kB / 0.7845 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.3345, allocations: 11.98 kB / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.782e-05/0.3345, allocations: 19.92 kB / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.976e-05/0.3346, allocations: 19.92 kB / 0.7845 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.3346, allocations: 4 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.513e-05/0.3346, allocations: 4 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.134e-05/0.3347, allocations: 7.984 kB / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.84e-05/0.3347, allocations: 15.88 kB / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.156e-05/0.3348, allocations: 47.86 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3348, allocations: 0 / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.704e-06/0.3348, allocations: 0 / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.3348, allocations: 0 / 0.7846 GB, free: 12.09 MB / 0.6075 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.0006012/0.3354, allocations: 367.7 kB / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.3355, allocations: 8.031 kB / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.208e-05/0.3355, allocations: 8.844 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.3357, allocations: 172.2 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.3358, allocations: 8.375 kB / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.3358, allocations: 384 / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/0.3361, allocations: 70.2 kB / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3361, allocations: 192 / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.3362, allocations: 7.938 kB / 0.7852 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.3362, allocations: 0 / 0.7852 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003409/0.3365, allocations: 67.92 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005171/0.337, allocations: 260.9 kB / 0.7855 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.3373, allocations: 58.47 kB / 0.7856 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.3374, allocations: 40.92 kB / 0.7856 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.3374, allocations: 7.984 kB / 0.7856 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/0.3375, allocations: 30.56 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.133e-06/0.3375, allocations: 0 / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005339/0.338, allocations: 129.5 kB / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.3381, allocations: 51.41 kB / 0.7858 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.3382, allocations: 113.8 kB / 0.7859 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.3382, allocations: 25.7 kB / 0.786 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.594e-05/0.3383, allocations: 95.97 kB / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.3383, allocations: 3.906 kB / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/0.3384, allocations: 17.72 kB / 0.7861 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3386, allocations: 314.8 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.3387, allocations: 35.95 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.3388, allocations: 27.97 kB / 0.7864 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002621/0.3391, allocations: 72.78 kB / 0.7865 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.3391, allocations: 7.938 kB / 0.7865 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003037/0.3394, allocations: 97.56 kB / 0.7866 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.3395, allocations: 4 kB / 0.7866 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.3395, allocations: 0 / 0.7866 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.3395, allocations: 336 / 0.7866 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.3397, allocations: 19.97 kB / 0.7866 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.3397, allocations: 4 kB / 0.7866 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.616e-05/0.3397, allocations: 19.89 kB / 0.7867 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.3398, allocations: 0 / 0.7867 GB, free: 9.758 MB / 0.6075 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 8.695e-05/0.3399, allocations: 110.4 kB / 0.7868 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/0.3399, allocations: 7.984 kB / 0.7868 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.543e-05/0.3399, allocations: 7.906 kB / 0.7868 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.34, allocations: 0 / 0.7868 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.34, allocations: 0 / 0.7868 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.34, allocations: 11.98 kB / 0.7868 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.3402, allocations: 169.5 kB / 0.7869 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3402, allocations: 4 kB / 0.7869 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.714e-05/0.3403, allocations: 11.98 kB / 0.787 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3403, allocations: 0 / 0.787 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.3403, allocations: 0 / 0.787 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3403, allocations: 4 kB / 0.787 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3403, allocations: 0 / 0.787 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003627/0.3407, allocations: 207.2 kB / 0.7872 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.33e-05/0.3407, allocations: 77.11 kB / 0.7872 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.3407, allocations: 0 / 0.7872 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.3409, allocations: 11.98 kB / 0.7872 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.173e-05/0.3409, allocations: 7.984 kB / 0.7873 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.3409, allocations: 4 kB / 0.7873 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.843e-05/0.341, allocations: 83.28 kB / 0.7873 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.341, allocations: 3.938 kB / 0.7873 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002176/0.3412, allocations: 8 kB / 0.7873 GB, free: 8.945 MB / 0.6075 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.0001742/0.3414, allocations: 103.2 kB / 0.7874 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003457/0.3417, allocations: 75.86 kB / 0.7875 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3418, allocations: 3.938 kB / 0.7875 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.3419, allocations: 35.97 kB / 0.7876 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.3422, allocations: 11.28 kB / 0.7876 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003489/0.3426, allocations: 141.4 kB / 0.7877 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.3429, allocations: 0.6807 MB / 0.7884 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.37e-05/0.3429, allocations: 0 / 0.7884 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.138e-05/0.3429, allocations: 11.44 kB / 0.7884 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.3429, allocations: 0 / 0.7884 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of Templates: time 0.002841/0.3458, allocations: 0.5722 MB / 0.7889 GB, free: 7.266 MB / 0.6075 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)